Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b4a1e27

Browse files
committedApr 29, 2025·
PM-1142 - make fields mandatory
1 parent edfc73b commit b4a1e27

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
 

‎prisma/migrations/20250425134520_truncate_tax_forms/migration.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ CREATE TYPE "tax_form_status" AS ENUM ('incomplete', 'submitted', 'reviewed', 'v
1414
CREATE TABLE "user_tax_form_associations" (
1515
"id" UUID NOT NULL DEFAULT uuid_generate_v4(),
1616
"user_id" VARCHAR(80) NOT NULL,
17-
"tax_form_id" TEXT,
18-
"date_filed" TIMESTAMP(6),
17+
"tax_form_id" TEXT NOT NULL,
18+
"date_filed" TIMESTAMP(6) NOT NULL,
1919
"tax_form_status" "tax_form_status",
2020

2121
CONSTRAINT "user_tax_form_associations_pkey" PRIMARY KEY ("id")

‎src/shared/global/prisma.service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export class PrismaService
1818
{ level: 'error', emit: 'event' },
1919
],
2020
});
21+
22+
// this.$on("query", async (e) => {
23+
// console.log(`${e.query} ${e.params}`)
24+
// });
2125
}
2226

2327
async onModuleInit() {

0 commit comments

Comments
 (0)
Please sign in to comment.