mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 01:11:43 +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
|
Loading…
Add table
Add a link
Reference in a new issue