Merge pull request #324 from Hestia-Homes/source-property-enum

property_id task source
This commit is contained in:
Daniel Roth 2026-06-22 14:53:06 +01:00 committed by GitHub
commit dac818bab5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11477 additions and 1 deletions

View file

@ -0,0 +1 @@
ALTER TYPE "public"."source" ADD VALUE 'property_id';

File diff suppressed because it is too large Load diff

View file

@ -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
}
]
}

View file

@ -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(),