Sha256: fe8313166b89fc042dddf827b46019a35ac0ba94547afb4055dfd2ebec9167d9

Contents?: true

Size: 176 Bytes

Versions: 7

Compression:

Stored size: 176 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 & 1 rubygems

Version Path
ar-octopus-0.8.2 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.8.1 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.8.0 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.7.0 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.6.1 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.6.0 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.5.0 spec/migrations/2_create_users_on_canada.rb