卫星通信服务平台

This commit is contained in:
2026-05-19 17:12:10 +08:00
parent 098d2ff575
commit 2398f17070
5 changed files with 149 additions and 72 deletions

20
app/model3/Unknown.js Normal file
View File

@@ -0,0 +1,20 @@
'use strict';
module.exports = (app) => {
const { INTEGER, TEXT, DATE } = app.Sequelize;
const Unknown = app.model3.define('unknown', {
id: { type: INTEGER(8), primaryKey: true, autoIncrement: true },
system_type: INTEGER(3),
original_msg: TEXT,
msg_data: TEXT,
created_at: DATE,
},{
freezeTableName: true,
timestamp: true,
createdAt: true,
updatedAt: false,
});
return Unknown;
};