mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-12 21:08:46 +00:00
Drizzle 및 SQLite3 관련 패키지/코드 삭제
This commit is contained in:
18
kysely.config.ts
Normal file
18
kysely.config.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { defineConfig } from "kysely-ctl";
|
||||
import { Pool } from "pg";
|
||||
|
||||
export default defineConfig({
|
||||
dialect: "pg",
|
||||
dialectConfig: {
|
||||
pool: new Pool({
|
||||
host: process.env.DATABASE_HOST,
|
||||
port: process.env.DATABASE_PORT ? parseInt(process.env.DATABASE_PORT) : undefined,
|
||||
user: process.env.DATABASE_USER,
|
||||
password: process.env.DATABASE_PASSWORD,
|
||||
database: process.env.DATABASE_NAME,
|
||||
}),
|
||||
},
|
||||
migrations: {
|
||||
migrationFolder: "./src/lib/server/db/migrations",
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user