mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 12:17:30 +02:00
added new fields into nameserver model
This commit is contained in:
parent
287c4ea5d6
commit
d896e5f716
2 changed files with 16 additions and 3 deletions
|
@ -0,0 +1,7 @@
|
|||
class AddValidationFieldsToNameserver < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :nameservers, :validation_datetime, :datetime
|
||||
add_column :nameservers, :validation_counter, :integer
|
||||
add_column :nameservers, :failed_validation_reason, :string
|
||||
end
|
||||
end
|
|
@ -824,7 +824,8 @@ CREATE TABLE public.dnskeys (
|
|||
creator_str character varying,
|
||||
updator_str character varying,
|
||||
legacy_domain_id integer,
|
||||
updated_at timestamp without time zone
|
||||
updated_at timestamp without time zone,
|
||||
validation_datetime timestamp without time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -2177,7 +2178,10 @@ CREATE TABLE public.nameservers (
|
|||
creator_str character varying,
|
||||
updator_str character varying,
|
||||
legacy_domain_id integer,
|
||||
hostname_puny character varying
|
||||
hostname_puny character varying,
|
||||
validation_datetime timestamp without time zone,
|
||||
validation_counter integer,
|
||||
failed_validation_reason character varying
|
||||
);
|
||||
|
||||
|
||||
|
@ -5389,6 +5393,8 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20211124084308'),
|
||||
('20211125181033'),
|
||||
('20211125184334'),
|
||||
('20211126085139');
|
||||
('20211126085139'),
|
||||
('20211231113934'),
|
||||
('20220106123143');
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue