Removed SQLite from twenty-website --------- Co-authored-by: Ady Beraud <a.beraud96@gmail.com> Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
15 lines
309 B
TypeScript
15 lines
309 B
TypeScript
import { Config } from 'drizzle-kit';
|
|
|
|
import 'dotenv/config';
|
|
|
|
const pgConfig = {
|
|
schema: './src/database/schema-postgres.ts',
|
|
out: './src/database/migrations',
|
|
driver: 'pg',
|
|
dbCredentials: {
|
|
connectionString: process.env.DATABASE_PG_URL ?? '',
|
|
},
|
|
} satisfies Config;
|
|
|
|
export default pgConfig;
|