Skip to content

Add to domain model and db table (make migration) new created metadata columns #4658

@chaswick

Description

@chaswick

Sub-issue description

Splits out part of 4376 to separate model updates from new script request:

Create 2 new columns

  • created_at_reference: This will store the date of domain record creation
  • registry_created_at: This will store the date of domain registry creation
  • Add appropriate constraints like created_at < registry_created_at

In the code, write the correct information to these columns. This means that when the domain entry is created, the same value will be written to created_at and created_at_reference. When the domain is created in the registry, the same value will be written to created_at and registry_created_at

Write tests for these new values

Acceptance criteria

  • Domain model is updated with new created metadata fields

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions