Sha256: e1ef8c7a34a396674e5098e4aaecda773513ed55bc84ee257967d11a62646344

Contents?: true

Size: 157 Bytes

Versions: 8

Compression:

Stored size: 157 Bytes

Contents

class CreateUsersOnMaster < BaseOctopusMigrationClass
  def self.up
    User.create!(:name => 'Master')
  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/1_create_users_on_master.rb
ar-octopus-ruby-3-0.11.2 spec/migrations/1_create_users_on_master.rb
ar-octopus-0.10.2 spec/migrations/1_create_users_on_master.rb
ar-octopus-0.10.1 spec/migrations/1_create_users_on_master.rb
ar-octopus-0.10.0 spec/migrations/1_create_users_on_master.rb
ar-octopus-master-0.9.2.1 spec/migrations/1_create_users_on_master.rb
ar-octopus-0.9.2 spec/migrations/1_create_users_on_master.rb
ar-octopus-0.9.1 spec/migrations/1_create_users_on_master.rb