Sha256: 16d0d5571fc8a2eeaeef0291b50b93307889f4b6d24bedddf5cbb2d4f74f3ebb

Contents?: true

Size: 175 Bytes

Versions: 7

Compression:

Stored size: 175 Bytes

Contents

class CreateUsersOnCanada < ActiveRecord::Migration
  using(:canada)

  def self.up
    User.create!(:name => 'Sharding')
  end

  def self.down
    User.delete_all
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ar-octopus-0.9.0 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.8.6 spec/migrations/2_create_users_on_canada.rb
misha-ar-octopus-0.8.7 spec/migrations/2_create_users_on_canada.rb
misha-ar-octopus-0.8.5 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.8.5 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.8.4 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.8.3 spec/migrations/2_create_users_on_canada.rb