Sha256: f1a6c014e8effa2400481ae1b3ac33ee8796fb411132227ae5f0093e269e7617

Contents?: true

Size: 245 Bytes

Versions: 14

Compression:

Stored size: 245 Bytes

Contents

class CreateOrders < ActiveRecord::Migration
  def self.up
    create_table :merchant_orders do |t|
      t.integer   :user_id
      t.integer   :amount
      t.timestamps
    end
  end

  def self.down
    drop_table :merchant_orders
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
will_filter-5.1.4 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-5.1.3 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-5.1.2 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-5.1.1 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-5.1.0 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.11 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.10 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.9 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.8 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.7 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.6 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.5 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.3 test/dummy/db/migrate/20111001193019_create_orders.rb
will_filter-3.1.2 test/dummy/db/migrate/20111001193019_create_orders.rb