diff options
Diffstat (limited to 'server/models/account/account.ts')
-rw-r--r-- | server/models/account/account.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index ee00c5aef..464105261 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -255,7 +255,6 @@ function associate (models) { | |||
255 | name: 'accountId', | 255 | name: 'accountId', |
256 | allowNull: false | 256 | allowNull: false |
257 | }, | 257 | }, |
258 | as: 'following', | ||
259 | onDelete: 'cascade' | 258 | onDelete: 'cascade' |
260 | }) | 259 | }) |
261 | 260 | ||
@@ -264,7 +263,6 @@ function associate (models) { | |||
264 | name: 'targetAccountId', | 263 | name: 'targetAccountId', |
265 | allowNull: false | 264 | allowNull: false |
266 | }, | 265 | }, |
267 | as: 'followers', | ||
268 | onDelete: 'cascade' | 266 | onDelete: 'cascade' |
269 | }) | 267 | }) |
270 | } | 268 | } |