bcgov / nr-gwells

Groundwater Wells and Aquifers
Apache License 2.0
1 stars 0 forks source link

chore(backend): Remove id from Well Attachment model that was not applied in a migrat… #209

Closed fergmac closed 13 hours ago

fergmac commented 14 hours ago

…ion.

Description

Rolled back migrations to remove the known previously unapplied migrations. Only applying the AquiferParameters private field migration.

Also including a "fake" migration to remove the WellAttachment ID field from the model. Django automagically adds an ID to a model. The Well Attachment model had one of these automagic ID's when an ID field was added to the model (I think just likely never cleaned up). The added id was never added to a migration file and therefore never applied. I have removed the Well Attachment ID field and faked a migration so that this change wont be picked up as a migration in future migrations.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist

Further comments


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in: