Update migration

This commit is contained in:
Rebecca Hsieh 2024-06-12 15:16:40 -07:00
parent 9b2743ef78
commit f49d754426
No known key found for this signature in database
2 changed files with 23 additions and 5 deletions

View 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),
),
]

View file

@ -1074,11 +1074,11 @@ class Domain(TimeStampedModel, DomainHelper):
verbose_name="first ready on", verbose_name="first ready on",
) )
# dsdata_last_change = TextField( dsdata_last_change = TextField(
# null=True, null=True,
# blank=True, blank=True,
# help_text="Most recent time that ds data was updated", help_text="Most recent time that ds data was updated",
# ) )
def isActive(self): def isActive(self):
return self.state == Domain.State.CREATED return self.state == Domain.State.CREATED