You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
917 B
43 lines
917 B
9 months ago
|
const sequelize = require("sequelize");
|
||
|
const db = require("../Config/db");
|
||
|
|
||
|
const AppVersions = db.define(
|
||
|
"APP_VERSIONS",
|
||
|
{
|
||
|
id: {
|
||
|
type: sequelize.INTEGER,
|
||
|
primaryKey: true,
|
||
|
},
|
||
|
app_version: {
|
||
|
type: sequelize.FLOAT,
|
||
|
},
|
||
|
ios_version: {
|
||
|
type: sequelize.FLOAT,
|
||
|
},
|
||
|
android_version: {
|
||
|
type: sequelize.FLOAT,
|
||
|
},
|
||
|
api_version: {
|
||
|
type: sequelize.FLOAT,
|
||
|
},
|
||
|
app_name: {
|
||
|
type: sequelize.STRING
|
||
|
},
|
||
|
deploy_date: {
|
||
|
type: sequelize.STRING
|
||
|
},
|
||
|
status: {
|
||
|
type: sequelize.INTEGER
|
||
|
},
|
||
|
force: {
|
||
|
type: sequelize.INTEGER
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
timestamps: false,
|
||
|
freezeTableName: true,
|
||
|
}
|
||
|
);
|
||
|
// AppVersions.removeAttribute("id");
|
||
|
module.exports = AppVersions;
|