Actions
Defect #5066
closeddb:reset not readding default admin account
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.
Updated by Go MAEDA over 7 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.
Updated by Go MAEDA over 7 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
It is the expected behavior. Closing this issue.
Actions