Sha256: feefdd3688a1edcbaa09e9caaa4089f846c67de5aa3fddea7f6ecdfb7dc0fc85

Contents?: true

Size: 224 Bytes

Versions: 47

Compression:

Stored size: 224 Bytes

Contents

class AddDefaultUser < ActiveRecord::Migration
  def self.up
    ConstructorCore::User.create!(:email => "ivanzotov@gmail.com", :password => "123qweASD")
  end

  def self.down
    ConstructorCore::User.delete_all
  end
end

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
constructor-core-0.7.5 db/migrate/2_add_default_user.rb
constructor-core-0.7.4 db/migrate/2_add_default_user.rb
constructor-pages-0.7.3 core/db/migrate/2_add_default_user.rb
constructor-core-0.7.3 core/db/migrate/2_add_default_user.rb
constructor-cms-0.7.3 core/db/migrate/2_add_default_user.rb
constructor-pages-0.7.2 core/db/migrate/2_add_default_user.rb
constructor-core-0.7.2 core/db/migrate/2_add_default_user.rb
constructor-cms-0.7.2 core/db/migrate/2_add_default_user.rb
constructor-core-0.7.1 core/db/migrate/2_add_default_user.rb
constructor-core-0.7.0 db/migrate/2_add_default_user.rb
constructor-cms-0.7.0 core/db/migrate/2_add_default_user.rb
constructor-core-0.6.4 db/migrate/2_add_default_user.rb
constructor-cms-0.6.4 core/db/migrate/2_add_default_user.rb
constructor-core-0.6.3 db/migrate/2_add_default_user.rb
constructor-cms-0.6.3 core/db/migrate/2_add_default_user.rb
constructor-core-0.6.2 db/migrate/2_add_default_user.rb
constructor-cms-0.6.2 core/db/migrate/2_add_default_user.rb
constructor-core-0.6.1 db/migrate/2_add_default_user.rb
constructor-cms-0.6.1 core/db/migrate/2_add_default_user.rb
constructor-core-0.6.0 db/migrate/2_add_default_user.rb