Sha256: 28001a969411be0f5aa6fec0fcd08cd18025b961071b5742ca850d0a06e6a681

Contents?: true

Size: 260 Bytes

Versions: 8

Compression:

Stored size: 260 Bytes

Contents

class CreateSkus < ActiveRecord::Migration
  def self.up
    create_table :skus do |t|
      t.column :number, :string
      t.column :stockable_id, :integer
      t.column :stockable_type, :string
    end
  end

  def self.down
    drop_table :skus
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
railscart-0.0.1 starter-app/vendor/plugins/railscart/db/migrate/017_create_skus.rb
railscart-0.0.2 starter_app/vendor/plugins/railscart/db/migrate/017_create_skus.rb
railscart-0.0.3 starter_app/vendor/plugins/railscart/db/migrate/017_create_skus.rb
railscart-0.0.4 starter_app/vendor/plugins/railscart/db/migrate/013_create_skus.rb
spree-0.0.5 starter-app/vendor/plugins/spree/db/migrate/013_create_skus.rb
spree-0.0.6 starter-app/vendor/plugins/spree/db/migrate/013_create_skus.rb
spree-0.0.8 starter-app/vendor/plugins/spree/db/migrate/013_create_skus.rb
spree-0.0.7 starter-app/vendor/plugins/spree/db/migrate/013_create_skus.rb