From ac24c48331f98f693fb73cb0188bdafd8c888784 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 11 Jul 2023 17:52:46 +0100 Subject: [PATCH] created portfolio and portfolioUsers schemas with drizzle --- drizzle.config.ts | 2 +- src/app/db/migrations/meta/_journal.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drizzle.config.ts b/drizzle.config.ts index 6a04468..744be05 100644 --- a/drizzle.config.ts +++ b/drizzle.config.ts @@ -1,7 +1,7 @@ import type { Config } from "drizzle-kit"; export default { - schema: "./src/app/db/schema/users.ts", + schema: "./src/app/db/schema/*", out: "./src/app/db/migrations", // dbCredentials: { // host: String(process.env.DB_HOST), diff --git a/src/app/db/migrations/meta/_journal.json b/src/app/db/migrations/meta/_journal.json index 8504b37..c97a7b3 100644 --- a/src/app/db/migrations/meta/_journal.json +++ b/src/app/db/migrations/meta/_journal.json @@ -22,6 +22,13 @@ "when": 1689012318015, "tag": "0002_hard_human_torch", "breakpoints": true + }, + { + "idx": 3, + "version": "5", + "when": 1689094320386, + "tag": "0003_past_gamora", + "breakpoints": true } ] } \ No newline at end of file