2020-08-07 01:14:14 +02:00
|
|
|
class AddOrderIndexes < ActiveRecord::Migration[4.2]
|
2012-05-28 10:41:33 +02:00
|
|
|
def self.up
|
|
|
|
add_index :group_order_articles, :group_order_id
|
|
|
|
add_index :group_order_articles, :order_article_id
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
remove_index :group_order_articles, :group_order_id
|
|
|
|
remove_index :group_order_articles, :order_article_id
|
|
|
|
end
|
|
|
|
end
|