1
0
Fork 0
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:
Sean Morley 2024-04-02 22:02:20 +00:00
parent 302a59c86d
commit 83cca15a8f
35 changed files with 6716 additions and 6511 deletions

View file

@ -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;