Files
FloatApi/src/server/models/SingaporeSectors.js
T
2022-03-30 16:49:28 +07:00

20 lines
419 B
JavaScript

const Sequelize = require('sequelize');
module.exports = function(sequelize, DataTypes) {
return sequelize.define('SingaporeSectors', {
id: {
type: DataTypes.SMALLINT,
allowNull: false,
primaryKey: true
},
name: {
type: DataTypes.STRING(20),
allowNull: true
}
}, {
sequelize,
tableName: 'singapore_sectors',
schema: 'public',
timestamps: false
});
};