Sha256: c090af4d5dc459bcfc7d3cf4ae85f20ae41c98a145972d2eba52bc9095014b35

Contents?: true

Size: 191 Bytes

Versions: 67

Compression:

Stored size: 191 Bytes

Contents

class CreateProducts < ActiveRecord::Migration
  def self.up
    create_table :products do |t|
      t.column :name, :string
    end
  end

  def self.down
    drop_table :products
  end
end

Version data entries

67 entries across 67 versions & 21 rubygems

Version Path
matid-resource_controller-0.7.1 test/db/migrate/002_create_products.rb
matid-resource_controller-0.7.0 test/db/migrate/002_create_products.rb
resource_controller_views-0.6.6.views2 test/db/migrate/002_create_products.rb
matid-resource_controller-0.6.7 test/db/migrate/002_create_products.rb
resource_controller_views-0.6.6 test/db/migrate/002_create_products.rb
resource_controller-0.6.6 test/db/migrate/002_create_products.rb
Pr0d1r2-resource_controller-0.6.6 test/db/migrate/002_create_products.rb
matid-resource_controller-0.6.6 test/db/migrate/002_create_products.rb
viva-resource_controller-0.6.5.3 test/db/migrate/002_create_products.rb
matid-resource_controller-0.6.5 test/db/migrate/002_create_products.rb
spree-0.8.4 vendor/plugins/resource_controller/test/db/migrate/002_create_products.rb
spree-0.8.5 vendor/plugins/resource_controller/test/db/migrate/002_create_products.rb
resource_controller-0.5.3 test/db/migrate/002_create_products.rb
resource_controller-0.5.0 test/db/migrate/002_create_products.rb
resource_controller-0.5.1 test/db/migrate/002_create_products.rb
resource_controller-0.5.2 test/db/migrate/002_create_products.rb
spree-0.4.1 vendor/plugins/resource_controller/test/db/migrate/002_create_products.rb
spree-0.4.0 vendor/plugins/resource_controller/test/db/migrate/002_create_products.rb
spree-0.5.0 vendor/plugins/resource_controller/test/db/migrate/002_create_products.rb
spree-0.5.1 vendor/plugins/resource_controller/test/db/migrate/002_create_products.rb