Files
ntrip-server/app/model2/CNtripAdmin.js

19 lines
430 B
JavaScript
Raw Permalink Normal View History

2026-05-12 17:43:03 +08:00
'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING } = app.Sequelize;
const CNtripAdmin = app.model2.define('cntrip-admin', {
id: { type: INTEGER(8), primaryKey: true, autoIncrement: true },
user_uid: CHAR(15),
mountpoint: STRING(100),
password: STRING(16)
}, {
freezeTableName: true,
timestamp: false,
createdAt: false,
updatedAt: false
});
return CNtripAdmin;
};