Sha256: 2c5492f690b571b8be6e9a864a7d23221d1b83b21d237dbc20f539df321749e5

Contents?: true

Size: 155 Bytes

Versions: 7

Compression:

Stored size: 155 Bytes

Contents

class CreateUsersOnMaster < ActiveRecord::Migration
  def self.up
    User.create!(:name => 'Master')
  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/1_create_users_on_master.rb
ar-octopus-0.8.6 spec/migrations/1_create_users_on_master.rb
misha-ar-octopus-0.8.7 spec/migrations/1_create_users_on_master.rb
misha-ar-octopus-0.8.5 spec/migrations/1_create_users_on_master.rb
ar-octopus-0.8.5 spec/migrations/1_create_users_on_master.rb
ar-octopus-0.8.4 spec/migrations/1_create_users_on_master.rb
ar-octopus-0.8.3 spec/migrations/1_create_users_on_master.rb