const sequelize = require("sequelize"); const db = require("../Config/db"); const AppModel = db.define( "TDMSAPP", // BCMSAPP use for checking user access { USER_ID: { type: sequelize.STRING, }, APP_CODE: { type: sequelize.STRING, }, DB_CODE: { type: sequelize.STRING, }, // BRANCH CODE CREATE_DATE: { type: sequelize.STRING, }, PRESET: { type: sequelize.STRING, }, }, { timestamps: false, freezeTableName: true, } ); AppModel.removeAttribute("id") module.exports = AppModel;