mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 15:06:23 +02:00
9 lines
236 B
Ruby
9 lines
236 B
Ruby
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
|