Adding the base for the currency system

This commit is contained in:
ION606
2022-04-14 21:49:11 -04:00
parent 4ca09e072a
commit 737d784c6e
8 changed files with 1546 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
module.exports = (sequelize, DataTypes) => {
return sequelize.define('user_item', {
user_id: DataTypes.STRING,
item_id: DataTypes.INTEGER,
amount: {
type: DataTypes.INTEGER,
allowNull: false,
'default': 0,
},
}, {
timestamps: false,
});
};