]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/account/account.ts
Fix error when creating a fresh database
[github/Chocobozzz/PeerTube.git] / server / models / account / account.ts
index ee00c5aef926471ca7a81008437b3e9e027befb2..464105261a463bba2e58b03dae10cce89fc5ab29 100644 (file)
@@ -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'
   })
 }