Project

General

Profile

Actions

Defect #5066

closed

db:reset not readding default admin account

Added by Jason Trahan over 14 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
2010-03-13
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

When I run the command "rake db:reset" it is not readding the default admin account.

Actions #1

Updated by Jean-Philippe Lang over 14 years ago

  • Category set to Database
Actions #2

Updated by Go MAEDA over 6 years ago

Please use db:migrate:reset instead. It creates "admin" account and built-in groups (Anonymous, Non-member).

Those objects are created during the migration process. db:reset recreates tables from db/schema.rb but doesn't run any migrations. On the other hand, db:migrate:reset runs all migrations after dropping the database.

Actions #3

Updated by Go MAEDA over 6 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

It is the expected behavior. Closing this issue.

Actions

Also available in: Atom PDF