Sha256: d9e078186ee63f1f68e5e8d57db78737a256dc66d372f6f7bc256e40459e6d15
Contents?: true
Size: 600 Bytes
Versions: 15
Compression:
Stored size: 600 Bytes
Contents
class AddMoreNeededKeysItemsAndConf < ActiveRecord::Migration def self.up add_index :line_items, [:order_id] add_index :line_items, [:variant_id] add_index :configurations, [:name, :type] add_index :creditcards, [:order_id] add_index :orders, [:checkout_complete] end def self.down remove_index :orders, :column => [:checkout_complete] remove_index :creditcards, :column => [:order_id] remove_index :configurations, :column => [:name, :type] remove_index :line_items, :column => [:variant_id] remove_index :line_items, :column => [:order_id] end end
Version data entries
15 entries across 15 versions & 3 rubygems