Add member address, state normalization, account inheritance, fix member form

- Address field on member table (jsonb, same format as account)
- Members inherit email, phone, address from account when not provided
- State normalization: "Texas" → "TX", "california" → "CA" via shared util
- Member form drops zodResolver to fix optional field validation flashing
- Account name auto-format: "First Last - Account"
- US state lookup with full name + code support
This commit is contained in:
Ryan Moon
2026-03-28 12:31:02 -05:00
parent ce2a61ced9
commit b9e984cfa3
10 changed files with 243 additions and 28 deletions

View File

@@ -0,0 +1,2 @@
-- Add address to member table
ALTER TABLE "member" ADD COLUMN "address" jsonb;

View File

@@ -78,6 +78,13 @@
"when": 1774704000000,
"tag": "0010_member_identifiers",
"breakpoints": true
},
{
"idx": 11,
"version": "7",
"when": 1774710000000,
"tag": "0011_member_address",
"breakpoints": true
}
]
}