mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-02 19:55:18 +02:00
Consistent code formatting
This commit is contained in:
parent
302a59c86d
commit
83cca15a8f
35 changed files with 6716 additions and 6511 deletions
|
@ -1,15 +1,15 @@
|
|||
import type { Config } from 'drizzle-kit';
|
||||
import * as dotenv from 'dotenv';
|
||||
import type { Config } from "drizzle-kit";
|
||||
import * as dotenv from "dotenv";
|
||||
dotenv.config();
|
||||
const { DATABASE_URL } = process.env;
|
||||
if (!DATABASE_URL) {
|
||||
throw new Error('No url');
|
||||
throw new Error("No url");
|
||||
}
|
||||
export default {
|
||||
schema: './src/lib/db/schema.ts',
|
||||
out: './migrations',
|
||||
driver: 'pg',
|
||||
dbCredentials: {
|
||||
connectionString: DATABASE_URL
|
||||
}
|
||||
} satisfies Config;
|
||||
schema: "./src/lib/db/schema.ts",
|
||||
out: "./migrations",
|
||||
driver: "pg",
|
||||
dbCredentials: {
|
||||
connectionString: DATABASE_URL,
|
||||
},
|
||||
} satisfies Config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue