mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 20:18:38 +02:00
Update migration
This commit is contained in:
parent
9b2743ef78
commit
f49d754426
2 changed files with 23 additions and 5 deletions
18
src/registrar/migrations/0101_domain_dsdata_last_change.py
Normal file
18
src/registrar/migrations/0101_domain_dsdata_last_change.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.2.10 on 2024-06-12 21:43
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("registrar", "0100_domainrequest_action_needed_reason"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="domain",
|
||||
name="dsdata_last_change",
|
||||
field=models.TextField(blank=True, help_text="Most recent time that ds data was updated", null=True),
|
||||
),
|
||||
]
|
|
@ -1074,11 +1074,11 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
verbose_name="first ready on",
|
||||
)
|
||||
|
||||
# dsdata_last_change = TextField(
|
||||
# null=True,
|
||||
# blank=True,
|
||||
# help_text="Most recent time that ds data was updated",
|
||||
# )
|
||||
dsdata_last_change = TextField(
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="Most recent time that ds data was updated",
|
||||
)
|
||||
|
||||
def isActive(self):
|
||||
return self.state == Domain.State.CREATED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue