mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Add locked_by_registrant_at field to domain
This commit is contained in:
parent
544c8565c5
commit
4743b1e2a5
2 changed files with 11 additions and 1 deletions
|
@ -0,0 +1,7 @@
|
||||||
|
class AddRegistryLockTimeColumn < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
change_table(:domains) do |t|
|
||||||
|
t.column :locked_by_registrant_at, :datetime, null: true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -912,7 +912,8 @@ CREATE TABLE public.domains (
|
||||||
statuses_backup character varying[] DEFAULT '{}'::character varying[],
|
statuses_backup character varying[] DEFAULT '{}'::character varying[],
|
||||||
upid integer,
|
upid integer,
|
||||||
up_date timestamp without time zone,
|
up_date timestamp without time zone,
|
||||||
uuid uuid DEFAULT public.gen_random_uuid() NOT NULL
|
uuid uuid DEFAULT public.gen_random_uuid() NOT NULL,
|
||||||
|
locked_by_registrant_at timestamp without time zone
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -4757,3 +4758,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180613030330');
|
||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20180613045614');
|
INSERT INTO schema_migrations (version) VALUES ('20180613045614');
|
||||||
|
|
||||||
|
INSERT INTO schema_migrations (version) VALUES ('20180808064402');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue