mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:19:40 +00:00
Migration test force re-create tables
This commit is contained in:
parent
c738e35a8c
commit
0f83a292f6
3 changed files with 9 additions and 5 deletions
|
|
@ -103,8 +103,8 @@ class Server {
|
|||
|
||||
// TODO: Test new db connection
|
||||
await Database.init()
|
||||
await Database.createTestUser()
|
||||
// await dbMigration3.migrate()
|
||||
// await Database.createTestUser()
|
||||
await dbMigration3.migrate()
|
||||
|
||||
const previousVersion = await this.db.checkPreviousVersion() // Returns null if same server version
|
||||
if (previousVersion) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue