assessment-model/src/app/db/schema
Jun-te Kim fa9bf538da Add property_overrides table + override_component enum (0221)
The per-Property fact layer deferred by ADR-0004: one row per
(property, building_part, override_component) holding the resolved
landlord-override enum as a denormalised text snapshot, plus the raw
spreadsheet description it resolved from.

Schema only — no writer yet. The bulk_upload_finaliser application will
populate it (recalculate-on-rerun via upsert on the unique key). Design
and rationale (snapshot-not-FK, drop source, recalculate semantics) in
docs/design/bulk-upload-finaliser.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 09:52:37 +00:00
..
condition add type inference 2026-01-27 17:28:05 +00:00
crm Surface coordinator damp & mould commentary in the risk drill-down 2026-05-28 14:58:23 +00:00
magic_plan add uploaded_file_id fk to magic_plan_plan 2026-05-13 10:03:07 +00:00
tasks claude completed proof of concept completion just got to check and follow to do list insturcitons in docs/wip 2026-05-28 19:32:15 +00:00
addresses.ts add last updated script to db 2026-03-04 15:23:30 +00:00
approvals.ts migrated db and building out upload doc ui and approval log 2026-04-17 00:01:08 +00:00
bulk_address_uploads.ts Add verify_ack column to bulk_address_uploads (0219) 2026-06-02 17:54:01 +00:00
energy_assessments.ts styling energy assessment page 2024-09-09 16:42:21 +01:00
epc.ts making uprn unique on epc store 2025-12-21 12:55:24 +00:00
files_from_surveyor.ts doc storage 2025-11-12 21:28:11 +00:00
funding.ts first implementation of funding into the app 2025-08-21 21:35:08 +00:00
inspections.ts added filtering + inspections to front end 2025-10-28 11:22:05 +00:00
landlord_overrides.ts roof 2026-05-26 16:07:26 +00:00
materials.ts adding boiler upgrade enum 2025-11-29 07:59:37 +00:00
organisation.ts renaming organisation and team columns 2026-03-23 12:26:31 +00:00
pibi_requests.ts add schema files and migration 0198 for magic_plan_uid 2026-05-07 18:13:17 +00:00
portfolio.ts initial implementation for portfolio invitations. A user can send an invitation to a user and they will receive an invitation email 2026-05-27 16:18:21 +00:00
portfolio_organisation.ts add schema files and migration 0198 for magic_plan_uid 2026-05-07 18:13:17 +00:00
property.ts Add EPC round-trip fidelity fixes and property_baseline_performance table to Drizzle schema 2026-06-03 10:42:13 +00:00
property_overrides.ts Add property_overrides table + override_component enum (0221) 2026-06-04 09:52:37 +00:00
recommendations.ts initial set up for installer and client input capabilities 2026-04-16 21:12:12 +00:00
relations.ts added filtering + inspections to front end 2025-10-28 11:22:05 +00:00
removal_requests.ts adding batch push up when removal requests are made 2026-04-20 12:21:00 +00:00
solar.ts addded changes to let build work 2025-08-21 11:30:51 +00:00
survey_requests.ts add schema files and migration 0198 for magic_plan_uid 2026-05-07 18:13:17 +00:00
team.ts renaming organisation and team columns 2026-03-23 12:26:31 +00:00
uploaded_files.ts add "other" file type 2026-06-03 08:24:48 +00:00
user_defined_deal_measures.ts add user_defined_deal_measures table migration and schema 2026-05-05 18:56:09 +00:00
users.ts Add 6-digit code sign-in as primary, magic link as fast-path fallback 2026-05-27 14:16:47 +00:00
whlg.ts added whlg 2025-11-14 11:28:28 +00:00