Sha256: 41e5d495a203fb59608be7bfd224dfdd9a4968d5882f9b0a505c7fcd01295a64

Contents?: true

Size: 341 Bytes

Versions: 76

Compression:

Stored size: 341 Bytes

Contents

class CreateSpreePromotionCategories < ActiveRecord::Migration[4.2]
  def change
    create_table :spree_promotion_categories do |t|
      t.string :name
      t.timestamps null: false, precision: 6
    end

    add_column :spree_promotions, :promotion_category_id, :integer
    add_index :spree_promotions, :promotion_category_id
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
spree_core-4.0.9 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.1.15 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.2.7 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.3.3 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.2.6 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.3.2 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.3.1 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.3.0 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.3.0.rc3 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.3.0.rc2 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.3.0.rc1 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.2.5 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.1.14 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.0.8 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.2.4 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-3.7.14.1 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.2.3.1 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.1.13.1 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.0.7.1 db/migrate/20140715182625_create_spree_promotion_categories.rb
spree_core-4.2.3 db/migrate/20140715182625_create_spree_promotion_categories.rb