From 33eecf1231055ea139a6148703969d04f2c7131a Mon Sep 17 00:00:00 2001 From: Walter Alves Date: Wed, 3 May 2017 09:54:24 -0300 Subject: [PATCH] Remove 'name' and 'using' from index Remove 'name' and 'using' from asset details index. --- db/migrate/20170425185231_create_asset_details.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20170425185231_create_asset_details.rb b/db/migrate/20170425185231_create_asset_details.rb index 21934f053b0..ff7f51b77a9 100644 --- a/db/migrate/20170425185231_create_asset_details.rb +++ b/db/migrate/20170425185231_create_asset_details.rb @@ -10,7 +10,7 @@ def change t.bigint :resource_id t.string :resource_type t.timestamps - t.index %w(resource_id resource_type), :name => "index_asset_details_on_resource_id_and_resource_type", :using => :btree + t.index %w(resource_id resource_type) end end end