Sha256: f6e048584983d1eb21553fefd89de24d5a9c04fab08f81b066a75cc60b48e459

Contents?: true

Size: 156 Bytes

Versions: 7

Compression:

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

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