mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Add email_history to registrar
This commit is contained in:
parent
f7cc5a8965
commit
57e156e407
2 changed files with 13 additions and 2 deletions
|
@ -0,0 +1,9 @@
|
|||
class AddEmailHistoryToRegistrars < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :registrars, :email_history, :string
|
||||
|
||||
reversible do |dir|
|
||||
dir.up { Registrar.update_all('email_history = email') }
|
||||
end
|
||||
end
|
||||
end
|
|
@ -2417,7 +2417,8 @@ CREATE TABLE public.registrars (
|
|||
iban character varying,
|
||||
settings jsonb DEFAULT '{}'::jsonb NOT NULL,
|
||||
legaldoc_optout boolean DEFAULT false NOT NULL,
|
||||
legaldoc_optout_comment text
|
||||
legaldoc_optout_comment text,
|
||||
email_history character varying
|
||||
);
|
||||
|
||||
|
||||
|
@ -5273,6 +5274,7 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|||
('20211125184334'),
|
||||
('20211126085139'),
|
||||
('20220106123143'),
|
||||
('20220113201642');
|
||||
('20220113201642'),
|
||||
('20220113220809');
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue