Skip to content

Commit

Permalink
66 Remove capital funds category enum
Browse files Browse the repository at this point in the history
 - removed instances where data is cast to capital fund category type
 - re-ran drizzle kit introspection (migration)

Closes #66
  • Loading branch information
horatiorosa committed Nov 27, 2024
1 parent 089a800 commit 9a723bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
4 changes: 3 additions & 1 deletion drizzle/migration/relations.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
import {} from "./schema";
import { relations } from "drizzle-orm/relations";
import { } from "./schema";

18 changes: 1 addition & 17 deletions drizzle/migration/schema.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
import { pgEnum } from "drizzle-orm/pg-core";
import { pgEnum } from "drizzle-orm/pg-core"

export const capital_fund_category = pgEnum("capital_fund_category", [
"city-non-exempt",
"city-exempt",
"city-cost",
"non-city-state",
"non-city-federal",
"non-city-other",
"non-city-cost",
"total",
]);
export const capital_project_category = pgEnum("capital_project_category", [
"Fixed Asset",
"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

0 comments on commit 9a723bc

Please sign in to comment.