mirror of
https://github.com/internetee/registry.git
synced 2025-07-28 05:26:17 +02:00
9 lines
230 B
Ruby
9 lines
230 B
Ruby
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
|