Skip to content

Commit

Permalink
Move capital project fund stage to constraint
Browse files Browse the repository at this point in the history
Remove the capital project fund stage enum
- The stage field of the capital project fund table now uses a check
  constraint

closes #63
  • Loading branch information
TangoYankee committed Dec 2, 2024
1 parent 089a800 commit 8578157
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 86 deletions.
6 changes: 0 additions & 6 deletions drizzle/migration/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ export const capital_project_category = pgEnum("capital_project_category", [
"Lump Sum",
"ITT, Vehicles and Equipment",
]);
export const capital_project_fund_stage = pgEnum("capital_project_fund_stage", [
"adopt",
"allocate",
"commit",
"spent",
]);
export const category = pgEnum("category", [
"Residential",
"Commercial",
Expand Down
Loading

0 comments on commit 8578157

Please sign in to comment.