ntrip-caster服务后端

This commit is contained in:
2026-05-12 17:43:03 +08:00
commit 6e761f3727
45 changed files with 3125 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING } = app.Sequelize;
const TNtripClient = app.model.define('tntrip-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 TNtripClient;
};