mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 18:56:05 +02:00
Merge branch 'master' into refactor-messages
# Conflicts: # db/structure.sql
This commit is contained in:
commit
056c57530c
32 changed files with 730 additions and 148 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
|
|
@ -0,0 +1,9 @@
|
|||
class ChangeDomainPendingJsonToJsonb < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :domains, :pending_json, 'jsonb USING CAST(pending_json AS jsonb)'
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :domains, :pending_json, 'json USING CAST(pending_json AS json)'
|
||||
end
|
||||
end
|
|
@ -904,7 +904,7 @@ CREATE TABLE public.domains (
|
|||
delete_at timestamp without time zone,
|
||||
registrant_verification_asked_at timestamp without time zone,
|
||||
registrant_verification_token character varying,
|
||||
pending_json json,
|
||||
pending_json jsonb,
|
||||
force_delete_at timestamp without time zone,
|
||||
statuses character varying[],
|
||||
reserved boolean DEFAULT false,
|
||||
|
@ -912,7 +912,8 @@ CREATE TABLE public.domains (
|
|||
statuses_before_force_delete character varying[] DEFAULT '{}'::character varying[],
|
||||
upid integer,
|
||||
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
|
||||
);
|
||||
|
||||
|
||||
|
@ -4762,6 +4763,8 @@ INSERT INTO schema_migrations (version) VALUES ('20180613045614');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180713154915');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180808064402');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180816123540');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180823161237');
|
||||
|
@ -4772,6 +4775,8 @@ INSERT INTO schema_migrations (version) VALUES ('20180823174331');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180823212823');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180824092855');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180824102834');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180825153657');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue