mirror of
https://github.com/simstudioai/sim.git
synced 2026-10-24 11:36:37 +08:00
* improvement(code-structure): move db into separate package * make db separate package * remake bun lock * update imports to not maintain two separate ones * fix CI for tests by adding dummy url * vercel build fix attempt * update bun lock * regenerate bun lock * fix mocks * remove db commands from apps/sim package json
11 lines
245 B
TypeScript
11 lines
245 B
TypeScript
import type { Config } from 'drizzle-kit'
|
|
|
|
export default {
|
|
schema: './schema.ts',
|
|
out: './migrations',
|
|
dialect: 'postgresql',
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL || process.env.POSTGRES_URL || '',
|
|
},
|
|
} satisfies Config
|