aboutsummaryrefslogtreecommitdiff
path: root/interface/models/state_master.model.js
blob: 450b90e861ed67106547e57d51a06ea81f0c3df3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module.exports = (Sequelize, sequelize) => {
    const StateMaster = sequelize.define("state_master", {
        state_id: {
            type: Sequelize.INTEGER,
            allowNull: false,
            primaryKey: true,
            autoIncrement: true,
        },
        state_name: {
            type: Sequelize.STRING(255),
            allowNull: false,
        },
    });
    return StateMaster;
}