Skip to content

Commit

Permalink
Add new fields and Snapshot model for localunit (#2331)
Browse files Browse the repository at this point in the history
* Add new fields in localunit and create a new model LocalUnitChangeRequest

* Add migrations file for the new models and fields

* Fix typo for DepricateReason

* update models field for LocalUnit.

* fix pre-commit

---------

Co-authored-by: rup-narayan-rajbanshi <[email protected]>
  • Loading branch information
susilnem and Rup-Narayan-Rajbanshi committed Dec 10, 2024
1 parent e0e7a71 commit a042992
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated by Django 4.2.16 on 2024-12-02 11:26

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("local_units", "0018_localunit_deprecated_reason_and_more"),
]

operations = [
migrations.AlterField(
model_name="localunit",
name="is_deprecated",
field=models.BooleanField(default=False, verbose_name="Is deprecated?"),
),
migrations.AlterField(
model_name="localunit",
name="status",
field=models.IntegerField(choices=[(1, "Verified"), (2, "Unverified")], default=2, verbose_name="status"),
),
migrations.AlterField(
model_name="localunitchangerequest",
name="triggered_at",
field=models.DateTimeField(auto_now_add=True, verbose_name="Triggered at"),
),
]

0 comments on commit a042992

Please sign in to comment.