Skip to content

Commit 1ce1b8c

Browse files
committed
chore: wip
1 parent b0b7cc3 commit 1ce1b8c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import process from 'node:process'
12
import { log } from '@stacksjs/cli'
2-
3-
// import { database } from '@stacksjs/config'
4-
// import { seed } from '@stacksjs/database'
5-
//
6-
// await seed()
3+
import { seed } from '@stacksjs/database'
74

85
log.info('Seeding database...')
6+
await seed()
7+
8+
process.exit(0)

storage/framework/core/actions/src/migrate/database.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { generateMigrations, runDatabaseMigration } from '@stacksjs/database'
66
const result = await generateMigrations()
77

88
if (result?.isErr()) {
9+
console.error(result.error)
910
log.error('[stacks] generateMigrations failed', result.error)
1011
process.exit(1)
1112
}

0 commit comments

Comments
 (0)