Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comuline/api
/ main
Function
main
src/db/migrate.ts:11–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
const
db = drizzle(postgres(url))
10
11
const
main =
async
() => {
12
console.info(
"Migrating database"
)
13
await
migrate(db, { migrationsFolder:
"drizzle/migrations"
})
14
console.log(
"Migration complete"
)
15
process.exit(0)
16
}
17
18
main()
Callers
1
migrate.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected