Commit 3dc25ba3 authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Remove warning from db seed since it is called by db setup.

parent 288df41c
......@@ -9,7 +9,8 @@ bundle exec rake 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
......
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment