mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
Merge pull request #324 from Hestia-Homes/source-property-enum
property_id task source
This commit is contained in:
commit
dac818bab5
4 changed files with 11477 additions and 1 deletions
1
src/app/db/migrations/0241_rainy_sway.sql
Normal file
1
src/app/db/migrations/0241_rainy_sway.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TYPE "public"."source" ADD VALUE 'property_id';
|
||||
11468
src/app/db/migrations/meta/0241_snapshot.json
Normal file
11468
src/app/db/migrations/meta/0241_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1681,6 +1681,13 @@
|
|||
"when": 1781879071017,
|
||||
"tag": "0240_petite_jamie_braddock",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 241,
|
||||
"version": "7",
|
||||
"when": 1782133366769,
|
||||
"tag": "0241_rainy_sway",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import { pgTable, uuid, text, timestamp, pgEnum } from "drizzle-orm/pg-core";
|
||||
|
||||
export const sourceEnum = pgEnum("source", ["portfolio_id", "hubspot_deal_id"]);
|
||||
export const sourceEnum = pgEnum("source", ["portfolio_id", "hubspot_deal_id", "property_id"]);
|
||||
|
||||
export const tasks = pgTable("tasks", {
|
||||
id: uuid("id").defaultRandom().primaryKey(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue