From 59c857da5961e2bcddcfd07832783c1e4afcd01a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Nov 2017 11:25:53 +0100 Subject: Fix error when creating a fresh database --- server/models/account/account.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'server/models') 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) { name: 'accountId', allowNull: false }, - as: 'following', onDelete: 'cascade' }) @@ -264,7 +263,6 @@ function associate (models) { name: 'targetAccountId', allowNull: false }, - as: 'followers', onDelete: 'cascade' }) } -- cgit v1.2.3