Add migration
This commit is contained in:
parent
65b3ed25fc
commit
91fea9fc48
8 changed files with 71 additions and 19 deletions
|
@ -1,9 +1,9 @@
|
|||
import { getServerAccount } from '../server/helpers'
|
||||
import { initDatabase } from '../server/initializers'
|
||||
import { initDatabaseModels } from '../server/initializers'
|
||||
import { AccountFollowModel } from '../server/models/account/account-follow'
|
||||
import { VideoModel } from '../server/models/video/video'
|
||||
|
||||
initDatabase(true)
|
||||
initDatabaseModels(true)
|
||||
.then(() => {
|
||||
return getServerAccount()
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue