X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmodels%2Faccount%2Faccount.ts;h=464105261a463bba2e58b03dae10cce89fc5ab29;hb=59c857da5961e2bcddcfd07832783c1e4afcd01a;hp=ee00c5aef926471ca7a81008437b3e9e027befb2;hpb=608624252466acf9f1d9ee1c1170bd4fe4d18d18;p=github%2FChocobozzz%2FPeerTube.git 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' }) }