const sequelize = require("sequelize"); const db = require("../Config/db"); const dbinfo = db.define( "SIDBINFO", { DB_CODE: { type: sequelize.STRING, primaryKey: true, }, DB_NAME: { type: sequelize.STRING, }, DATE_DEFAULT: { type: sequelize.STRING, }, DATE_FORMAT: { type: sequelize.STRING, }, SA_DECIMAL: { type: sequelize.INTEGER, }, SB_DECICMA: { type: sequelize.INTEGER, }, DEC_SEP: { type: sequelize.STRING, }, THO_SEP: { type: sequelize.STRING, }, DB_STAT: { type: sequelize.STRING, }, USER_CREA: { type: sequelize.STRING, }, DATE_CREA: { type: sequelize.STRING, }, USER_UPDT: { type: sequelize.STRING, }, DATE_UPDT: { type: sequelize.STRING, }, }, { timestamps: false, freezeTableName: true, } ); dbinfo.removeAttribute("id"); module.exports = dbinfo;