aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models
diff options
context:
space:
mode:
authorTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-28 21:51:02 -0600
committerTymanWasTaken <32660892+tymanwastaken@users.noreply.github.com>2021-05-28 21:51:02 -0600
commit1e9e334097702c68d871365fc016aa096d03c491 (patch)
tree65b22d1d529cda850e5c30e9fe19a2504fca2645 /src/lib/models
parent53d8d5e551e9a239fd4c48c7dca4e1f6fb8d81e9 (diff)
downloadtanzanite-1e9e334097702c68d871365fc016aa096d03c491.tar.gz
tanzanite-1e9e334097702c68d871365fc016aa096d03c491.tar.bz2
tanzanite-1e9e334097702c68d871365fc016aa096d03c491.zip
Remove references - caused some issues, comment out some image gen code
Diffstat (limited to 'src/lib/models')
-rw-r--r--src/lib/models/Ban.ts9
-rw-r--r--src/lib/models/Modlog.ts9
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 }