diff options
Diffstat (limited to 'src/lib/models')
-rw-r--r-- | src/lib/models/Ban.ts | 9 | ||||
-rw-r--r-- | src/lib/models/Modlog.ts | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/src/lib/models/Ban.ts b/src/lib/models/Ban.ts index 3ce9c06..ab7b38d 100644 --- a/src/lib/models/Ban.ts +++ b/src/lib/models/Ban.ts @@ -80,10 +80,11 @@ export class Ban }, modlog: { type: DataTypes.STRING, - allowNull: false, - references: { - model: Models.Modlog - } + allowNull: false + // references: { + // model: Models.Modlog, + // key: 'id' + // } } }, { sequelize: sequelize } diff --git a/src/lib/models/Modlog.ts b/src/lib/models/Modlog.ts index 7efeeed..7e24ba6 100644 --- a/src/lib/models/Modlog.ts +++ b/src/lib/models/Modlog.ts @@ -81,10 +81,11 @@ export class Modlog allowNull: true }, guild: { - type: DataTypes.STRING, - references: { - model: Models.Guild - } + type: DataTypes.STRING + // references: { + // model: Models.Guild, + // key: 'id' + // } } }, { sequelize: sequelize } |