This website requires JavaScript.
Explore
Help
Sign In
ccopeland
/
red
Watch
1
Star
0
Fork
0
You've already forked red
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
12a74fcf4ace8fdadd6b26455569445ed209611f
red
/
teressa-copeland-homes
/
drizzle
/
0007_equal_nekra.sql
1 line
57 B
MySQL
Raw
Normal View
History
Unescape
Escape
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
ALTER
TABLE
"
clients
"
ADD
COLUMN
"
property_address
"
text
;
Reference in New Issue
Copy Permalink