Skip to content

Commit

Permalink
Create idm schema models and helpers
Browse files Browse the repository at this point in the history
https://eaflood.atlassian.net/browse/WATER-4057

As part of the work we have been doing on two-part tariff we are going to be creating all our new tables in the default `public` schema.

We have also decided that when there is a legacy table that we are still going to need we will create a [View](https://www.postgresql.org/docs/current/sql-createview.html) of it in the `public` schema. This allows us to correct any issues with naming conventions, strip out unused fields, and join entities that are currently sat in different schemas. The first example of this approach was done in PR #531 .

This change adds the models and helpers for the views in the `idm` schema that were created in PR #555

> The final step will then be to refactor the existing code to use the new models and delete the old legacy ones.
  • Loading branch information
Cruikshanks committed Dec 3, 2023
1 parent d30fa22 commit b19fbf0
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit b19fbf0

Please sign in to comment.