mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-19 17:02:59 +00:00
feat(db): add os_places to override_source enum
New provenance value for the deterministic OS Places classification-code mapping written by the postcode-search journey (ADR-0007, on feature/add-properties-by-postcode). Enum-only change so it can be applied to the database ahead of the feature merging. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
b94feae398
commit
c8c00b87b5
4 changed files with 11792 additions and 0 deletions
1
src/app/db/migrations/0260_natural_enchantress.sql
Normal file
1
src/app/db/migrations/0260_natural_enchantress.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TYPE "public"."override_source" ADD VALUE 'os_places';
|
||||
11782
src/app/db/migrations/meta/0260_snapshot.json
Normal file
11782
src/app/db/migrations/meta/0260_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1814,6 +1814,13 @@
|
|||
"when": 1783075096141,
|
||||
"tag": "0259_fantastic_rockslide",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 260,
|
||||
"version": "7",
|
||||
"when": 1783345567793,
|
||||
"tag": "0260_natural_enchantress",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -262,6 +262,8 @@ export const MainHeatingSystemValues: [string, ...string[]] = [
|
|||
export const OverrideSourceValues: [string, ...string[]] = [
|
||||
"classifier",
|
||||
"user",
|
||||
// Deterministic OS Places classification-code mapping (postcode search, ADR-0007)
|
||||
"os_places",
|
||||
];
|
||||
|
||||
export const propertyTypeEnum = pgEnum("property_type", PropertyTypeValues);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue