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

20 lines
457 B
JavaScript

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