Files
ntrip-server/app/model2/CNtripClient.js
2026-05-12 17:43:03 +08:00

19 lines
429 B
JavaScript

'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING } = app.Sequelize;
const CNtripClient = app.model.define('cntrip-client', {
id: { type: INTEGER(8), primaryKey: true, autoIncrement: true },
user_uid: CHAR(15),
mountpoint: STRING(100),
base: STRING(104)
}, {
freezeTableName: true,
timestamp: false,
createdAt: false,
updatedAt: false
});
return CNtripClient;
};