Sha256: e90be8c6b21a70d2b243d1a9a502676cff010399345361f6ea490a4493a9a5ed

Contents?: true

Size: 303 Bytes

Versions: 28

Compression:

Stored size: 303 Bytes

Contents

class CreatePromotionActionLineItems < ActiveRecord::Migration
  def change
    create_table :promotion_action_line_items do |t|
      t.integer :promotion_action_id, :variant_id
      t.integer :quantity, :default => 1
      t.references :promotion_action
      t.references :variant
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
spree_promo-1.2.5 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.6 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.5 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.2.4 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.0.7 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.2.3 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.2.2 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.4 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.2.0 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.2.0.rc2 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.2.0.rc1 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.3 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.0.6 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.2 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.2.rc1 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.1 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.0 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.0.4 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.0.rc2 db/migrate/20110601202923_create_promotion_action_line_items.rb
spree_promo-1.1.0.rc1 db/migrate/20110601202923_create_promotion_action_line_items.rb