Skip to content

Commit a16f0e6

Browse files
committed
fix(scripts,db,setup): set dynamic database name
1 parent c765783 commit a16f0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/db/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ import { DATABASE_NAME } from "lib/config/env.config";
88

99
// biome-ignore lint/suspicious/noConsoleLog: script logging
1010
console.log(`Creating ${DATABASE_NAME} database...`);
11-
await $`createdb -U postgres template-elysia`;
11+
await $`createdb -U postgres ${DATABASE_NAME}`;
1212
// biome-ignore lint/suspicious/noConsoleLog: script logging
1313
console.log("Database created");

0 commit comments

Comments
 (0)