Skip to content

EAS-3028: Area functionality migration version, adds geographic_id & name_singular columns - #396

Open
leylayaltiligil wants to merge 6 commits into
mainfrom
EAS-3028-Area-functionality-migration-version
Open

EAS-3028: Area functionality migration version, adds geographic_id & name_singular columns#396
leylayaltiligil wants to merge 6 commits into
mainfrom
EAS-3028-Area-functionality-migration-version

Conversation

@leylayaltiligil

@leylayaltiligil leylayaltiligil commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

This PR adds a migration that, on upgrade:

  1. Deletes all data from the area tables
  2. Adds name_singular column to geography_type table
  3. Drops the geography_polygons table & relevant indexes
  4. Recreates geography_polygons & indexes with geographic_id column added

name_singular column required for displaying libraries in Admin application, addition of geographic_id allows us to store geometries with unique ID as primary key, but still stores their ONS/GSS identifier.

@leylayaltiligil leylayaltiligil changed the title Eas 3028 area functionality migration version EAS-3028: Area functionality migration version, adds geographic_id column Aug 20, 2026
@leylayaltiligil leylayaltiligil changed the title EAS-3028: Area functionality migration version, adds geographic_id column EAS-3028: Area functionality migration version, adds geographic_id & name_singular columns Aug 20, 2026
@leylayaltiligil
leylayaltiligil marked this pull request as ready for review August 24, 2026 09:29
gds-gharper
gds-gharper previously approved these changes Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants