Sha256: 0f241723e86dcd16195094f90780d42453a13989b34a7a25334bcc4c318c6f18

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

class CreateComableStockLocations < ActiveRecord::Migration
  def change
    create_table :comable_stock_locations do |t|
      t.string :name, null: false
      t.boolean :default, null: false, default: false
      t.boolean :active, null: false, default: true
      t.references :address
      t.timestamps null: false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
comable-core-0.7.1 db/migrate/20150924010143_create_comable_stock_locations.rb
comable-core-0.7.0 db/migrate/20150924010143_create_comable_stock_locations.rb
comable-core-0.7.0.beta2 db/migrate/20150924010143_create_comable_stock_locations.rb