Skip to content

Commit

Permalink
fix(polls): missing foreign key (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayllyz authored Jun 11, 2024
1 parent cdbc753 commit f0139a5
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 35 deletions.
6 changes: 3 additions & 3 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@hono/zod-validator": "^0.2.2",
"@repo/types": "workspace:*",
"@supabase/supabase-js": "^2.43.4",
"hono": "^4.4.4",
"hono": "^4.4.5",
"stripe": "^15.10.0",
"zod": "^3.23.8",
"zod-validation-error": "^3.3.0"
Expand All @@ -31,8 +31,8 @@
"@repo/typescript-config": "workspace:*",
"@types/node": "^20.14.2",
"@types/swagger-ui-dist": "^3.30.4",
"supabase": "^1.172.2",
"tsx": "^4.15.1",
"supabase": "^1.176.2",
"tsx": "^4.15.2",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
}
Expand Down
62 changes: 31 additions & 31 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions supabase/migrations/20240610173246_assemblies_status.sql
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
alter table "public"."ASSEMBLIES" add column "closed" boolean not null default false;
ALTER TABLE ONLY "public"."POLLS"
ADD CONSTRAINT "public_POLLS_assembly_fkey" FOREIGN KEY ("assembly") REFERENCES "public"."ASSEMBLIES"("id");
2 changes: 1 addition & 1 deletion supabase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"devDependencies": {
"@repo/biome-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"supabase": "^1.172.2"
"supabase": "^1.176.2"
}
}

0 comments on commit f0139a5

Please sign in to comment.