Sha256: 5ff9710eff1c1c419b3bd3a54f8b27d2497275dfdb3a11bb6a139f43825a087d

Contents?: true

Size: 227 Bytes

Versions: 10

Compression:

Stored size: 227 Bytes

Contents

class CreateOrders < ActiveRecord::Migration
  def change
    create_table :orders do |t|
      t.string :name
      t.text :description
      t.string :status
      t.integer :customer_id

      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hashbrowns-0.2.5 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.2.4 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.2.3 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.2.2 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.2.1 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.2.0 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.1.6 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.1.5 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.1.4 example/db/migrate/20121102165116_create_orders.rb
hashbrowns-0.1.3 example/db/migrate/20121102165116_create_orders.rb