Fix thing, add number column to tickets

This commit is contained in:
Isaac
2021-02-20 21:27:49 +00:00
parent 5e9e23bbf2
commit ed12120f1b
3 changed files with 15 additions and 7 deletions

View File

@@ -85,6 +85,11 @@ module.exports = async (log) => {
primaryKey: true,
allowNull: false,
},
number: {
type: DataTypes.INTEGER,
autoIncrement: true,
allowNull: false,
},
guild: {
type: DataTypes.STRING,
allowNull: false,
@@ -92,7 +97,7 @@ module.exports = async (log) => {
model: Guild,
key: 'id'
},
}
},
}, {
tableName: DB_TABLE_PREFIX + 'tickets'
});