12 lines
317 B
Ruby
12 lines
317 B
Ruby
|
class AddOrderIndexes < ActiveRecord::Migration
|
||
|
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
|