Skip to content

Commit

Permalink
Remove index names
Browse files Browse the repository at this point in the history
  • Loading branch information
skovic committed Jun 23, 2017
1 parent f38024b commit 0d1ff8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class AddGuestDeviceIdToFirmwares < ActiveRecord::Migration[5.0]
def change
add_column :firmwares, :guest_device_id, :bigint
add_index :firmwares, :guest_device_id, :name => "index_firmwares_on_guest_device_id"
add_index :firmwares, :guest_device_id
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ def change
add_column :guest_devices, :manufacturer, :string
add_column :guest_devices, :field_replaceable_unit, :string
add_column :guest_devices, :parent_device_id, :bigint
add_index :guest_devices, :parent_device_id, :name => "index_guest_devices_on_parent_device_id"
add_index :guest_devices, :parent_device_id
end
end

0 comments on commit 0d1ff8a

Please sign in to comment.