Files
selmerBot/commands/currency/models/CurrencyShop.js
T

22 lines
367 B
JavaScript
Raw Normal View History

2022-04-14 21:49:11 -04:00
module.exports = (sequelize, DataTypes) => {
return sequelize.define('currency_shop', {
name: {
type: DataTypes.STRING,
unique: true,
},
cost: {
type: DataTypes.INTEGER,
allowNull: false,
},
2022-04-17 08:51:30 -04:00
icon: {
type: DataTypes.STRING,
unique: true,
},
sect: {
type: DataTypes.STRING,
allowNull: true,
},
2022-04-14 21:49:11 -04:00
}, {
timestamps: false,
});
};