Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Removes AdminUser creation from migration #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions db/migrate/20130127063936_devise_create_admin_users.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
class DeviseCreateAdminUsers < ActiveRecord::Migration
def migrate(direction)
super
# Create a default user
AdminUser.create!(:email => '[email protected]', :password => 'h@rry5t3ch', :password_confirmation => 'h@rry5t3ch') if direction == :up
end

def change
create_table(:admin_users) do |t|
## Database authenticatable
Expand Down