Sha256: 6abaf10160be9e89aa1cde03e1ab76cdfbbf70fdd4feeb9c7ebc4dec080c22ef

Contents?: true

Size: 197 Bytes

Versions: 240

Compression:

Stored size: 197 Bytes

Contents

class CreateTreats < ActiveRecord::Migration
  def self.up
    create_table :treats do |t|
      t.integer :dog_id
      t.timestamps
    end
  end

  def self.down
    drop_table :treats
  end
end

Version data entries

240 entries across 119 versions & 23 rubygems

Version Path
auser-poolparty-1.3.2 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
auser-poolparty-1.3.3 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
auser-poolparty-1.3.4 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
auser-poolparty-1.3.5 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
auser-poolparty-1.3.6 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
auser-poolparty-1.3.7 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
auser-poolparty-1.3.8 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
fairchild-poolparty-1.3.17 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
fairchild-poolparty-1.3.5 vendor/gems/shoulda/test/rails_root/db/migrate/011_create_treats.rb
francois-shoulda-2.10.1 test/rails_root/db/migrate/011_create_treats.rb
iGEL-shoulda-2.10.2 test/rails_root/db/migrate/011_create_treats.rb
ratnikov-shoulda-2.0.6.3 test/rails_root/db/migrate/011_create_treats.rb
ratnikov-shoulda-2.9.0.1 test/rails_root/db/migrate/011_create_treats.rb
ratnikov-shoulda-2.9.0.2 test/rails_root/db/migrate/011_create_treats.rb
ratnikov-shoulda-2.9.0.3 test/rails_root/db/migrate/011_create_treats.rb
ratnikov-shoulda-2.9.0 test/rails_root/db/migrate/011_create_treats.rb
rmm5t-shoulda-2.9.1 test/rails_root/db/migrate/011_create_treats.rb
technicalpickles-shoulda-2.10.0 test/rails_root/db/migrate/011_create_treats.rb
thoughtbot-shoulda-2.10.0 test/rails_root/db/migrate/011_create_treats.rb
thoughtbot-shoulda-2.10.1 test/rails_root/db/migrate/011_create_treats.rb