Remove warning from db seed since it is called by db setup.
This commit is contained in:
parent
288df41c0a
commit
3dc25ba331
2 changed files with 2 additions and 7 deletions
|
@ -9,7 +9,8 @@ bundle exec rake setup
|
||||||
```
|
```
|
||||||
|
|
||||||
The `setup` task is a alias for `gitlab:setup`.
|
The `setup` task is a alias for `gitlab:setup`.
|
||||||
This tasks calls `db:setup` to create the database, with `add_limits_mysql` it adds limits to the database schema in case of a MySQL database and fianlly it runs `db:seed_fu` to seed the database.
|
This tasks calls `db:setup` to create the database, calls `add_limits_mysql` that adds limits to the database schema in case of a MySQL database and fianlly it calls `db:seed_fu` to seed the database.
|
||||||
|
Note: `db:setup` calls `db:seed` but this does nothing.
|
||||||
|
|
||||||
## Run tests
|
## Run tests
|
||||||
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
namespace :db do
|
|
||||||
desc "Seed is replaced with seed_fu"
|
|
||||||
task :seed => :environment do
|
|
||||||
raise "Please run db:seed_fu instead of db:seed."
|
|
||||||
end
|
|
||||||
end
|
|
Loading…
Reference in a new issue