mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
9 lines
332 B
Ruby
9 lines
332 B
Ruby
class AddLegacyColumnsForContact < ActiveRecord::Migration[6.0]
|
|
def change
|
|
add_column :contacts, :legacy_id, :integer
|
|
remove_column :contacts, :type, :string
|
|
remove_column :contacts, :reg_no, :string
|
|
remove_column :contacts, :created_by_id, :integer
|
|
remove_column :contacts, :updated_by_id, :integer
|
|
end
|
|
end
|