Sha256: 9e712c91f68a680749b63d30d3b28f734fa1aa8bfafb71b84ec56128619bb53f

Contents?: true

Size: 177 Bytes

Versions: 8

Compression:

Stored size: 177 Bytes

Contents

class CreateUsersOnCanada < BaseOctopusMigrationClass
  using(:canada)

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

  def self.down
    User.delete_all
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
ar-octopus-ruby-3-0.11.3 spec/migrations/2_create_users_on_canada.rb
ar-octopus-ruby-3-0.11.2 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.10.2 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.10.1 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.10.0 spec/migrations/2_create_users_on_canada.rb
ar-octopus-master-0.9.2.1 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.9.2 spec/migrations/2_create_users_on_canada.rb
ar-octopus-0.9.1 spec/migrations/2_create_users_on_canada.rb