fix: 更改数据库包
This commit is contained in:
@@ -186,4 +186,7 @@ function seed() {
|
||||
console.log('Seed completed.')
|
||||
}
|
||||
|
||||
seed()
|
||||
require('./db').initDb().then(() => seed()).catch((err) => {
|
||||
console.error('Seed failed:', err)
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user