Files
red/teressa-copeland-homes/drizzle/meta/_journal.json
Chandler Copeland baa1c785a5 feat(09-01): add property_address column to clients — schema, migration, server actions
- Add propertyAddress: text("property_address") nullable column to clients pgTable
- Generate migration drizzle/0007_equal_nekra.sql: ALTER TABLE "clients" ADD COLUMN "property_address" text
- Apply migration successfully to local postgres database
- Extend clientSchema Zod schema with propertyAddress: z.string().optional()
- createClient: persist propertyAddress || null to coerce empty string to NULL
- updateClient: persist propertyAddress || null alongside name, email, updatedAt
2026-03-21 12:13:55 -06:00

62 lines
1.2 KiB
JSON

{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1773948629637,
"tag": "0000_milky_black_cat",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1773958608977,
"tag": "0001_watery_blindfold",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1773977523128,
"tag": "0002_wealthy_zzzax",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1773985969484,
"tag": "0003_cool_natasha_romanoff",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1773987640772,
"tag": "0004_military_maximus",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1774027394708,
"tag": "0005_signing_flow",
"breakpoints": true
},
{
"idx": 6,
"version": "7",
"when": 1774115178000,
"tag": "0006_type_discriminant",
"breakpoints": true
},
{
"idx": 7,
"version": "7",
"when": 1774116777513,
"tag": "0007_equal_nekra",
"breakpoints": true
}
]
}