Files
ntrip-server/app/model4/TNtripRecord.js

21 lines
485 B
JavaScript
Raw Permalink Normal View History

2026-05-12 17:43:03 +08:00
'use strict';
module.exports = (app) => {
const { INTEGER, CHAR, STRING, DATE } = app.Sequelize;
const TNtripRecord = app.model4.define('tntrip-record', {
id: { type: INTEGER(8), primaryKey: true, autoIncrement: true },
user_uid: CHAR(15),
mountpoint: STRING(100),
befor_edit: STRING(100),
created_at: DATE,
updated_at: DATE
}, {
freezeTableName: true,
timestamp: true,
createdAt: true,
updatedAt: true
});
return TNtripRecord;
};