MCPcopy 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

9const db = drizzle(postgres(url))
10
11const 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
18main()

Callers 1

migrate.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected