Skip to content

Rekey database schema, update Serializers, tests, fixtures#4408

Merged
plasticviking merged 5 commits intonormalized-databasefrom
rekey-database-schema
Feb 4, 2026
Merged

Rekey database schema, update Serializers, tests, fixtures#4408
plasticviking merged 5 commits intonormalized-databasefrom
rekey-database-schema

Conversation

@LocalNewsTV
Copy link
Collaborator

Overview

Important

Recreates Migrations. This is due to Django not wanting to rename DB Tables when we apply a PG Schema to the names. You can manually remove this for a once time work, but running makemigrations any subsequent time causes all the db names to reappear resulting in an error, again due to attempting to transcend schemas (even if the schema is the same).

This PR includes the following proposed change(s):

  • Renames Database tables/models to follow a semantic pattern (example below)
    • Update Model Names using old Information/Detail semantic
    • Update Fixtures
    • Update Tests
  • Recreate Migrations
image

@LocalNewsTV LocalNewsTV changed the base branch from dev to normalized-database February 3, 2026 20:44
@bcgov bcgov deleted a comment from sonarqubecloud bot Feb 3, 2026
@LocalNewsTV LocalNewsTV closed this Feb 3, 2026
@LocalNewsTV LocalNewsTV reopened this Feb 3, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 3, 2026

@plasticviking plasticviking merged commit 301392d into normalized-database Feb 4, 2026
10 checks passed
@plasticviking plasticviking deleted the rekey-database-schema branch February 4, 2026 09:52
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.

2 participants