Remove migration and update tests

This commit is contained in:
Rebecca Hsieh 2024-06-12 14:42:12 -07:00
parent f76be2a58d
commit 293a429a90
No known key found for this signature in database
3 changed files with 40 additions and 38 deletions

View file

@ -692,7 +692,7 @@ class Domain(TimeStampedModel, DomainHelper):
dsdata_change_log = f"{user_email} deleted a DS data record"
if dsdata_change_log != "":
self.dsdata_last_change = dsdata_change_log
self.save() # Audit log will now record this as a change
self.save() # audit log will now record this as a change
except RegistryError as e:
logger.error("Error updating DNSSEC, code was %s error was %s" % (e.code, e))
@ -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