Sha256: ba847148be425f1c360b59e14dbdc84338ee243dbc1b2616ff08b084a83085e0

Contents?: true

Size: 186 Bytes

Versions: 11

Compression:

Stored size: 186 Bytes

Contents

class CreateOrders < ActiveRecord::Migration
  def change
    create_table :orders do |t|
      t.string :product
      t.references :account
      
      t.timestamps
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sequenced-3.1.1 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-3.1.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-3.0.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-2.0.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-1.6.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-1.5.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-1.4.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-1.3.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-1.2.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-1.0.0 test/dummy/db/migrate/20120219172922_create_orders.rb
sequenced-0.1.0 test/dummy/db/migrate/20120219172922_create_orders.rb