DB: Add and migrate columns in preparation for patreon perks
Renaming nextDrop/Pull required a bit of a hack resulting in it no longer having a default value.
This commit is contained in:
@@ -16,6 +16,7 @@ module.exports = (sequelize, DataTypes) => {
|
||||
Bot.init({
|
||||
maintenance: DataTypes.BOOLEAN,
|
||||
adminIDs: DataTypes.STRING,
|
||||
patreonTierRoles: DataTypes.STRING,
|
||||
pullTimeout: DataTypes.INTEGER,
|
||||
dropTimeout: DataTypes.INTEGER
|
||||
}, {
|
||||
|
||||
@@ -103,8 +103,10 @@ module.exports = (sequelize, DataTypes) => {
|
||||
experience: DataTypes.INTEGER,
|
||||
primaryCurrency: DataTypes.INTEGER,
|
||||
secondaryCurrency: DataTypes.INTEGER,
|
||||
nextDrop: DataTypes.DATE,
|
||||
nextPull: DataTypes.DATE,
|
||||
remainingDrops: DataTypes.INTEGER,
|
||||
remainingClaims: DataTypes.INTEGER,
|
||||
nextDropReset: DataTypes.DATE,
|
||||
nextClaimReset: DataTypes.DATE,
|
||||
nextDaily: DataTypes.DATE
|
||||
}, {
|
||||
hooks: {
|
||||
|
||||
Reference in New Issue
Block a user