mirror of
https://github.com/internetee/registry.git
synced 2025-06-05 20:27:30 +02:00
Implement FD notes updating
This commit is contained in:
parent
f461388783
commit
c47b093a45
6 changed files with 83 additions and 2 deletions
|
@ -0,0 +1,9 @@
|
|||
class AddEmailHistoryToContacts < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :contacts, :email_history, :string
|
||||
|
||||
reversible do |dir|
|
||||
dir.up { Contact.update_all('email_history = email') }
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue