From 3dc25ba331c4f5c4708b0fcd8478d943d182d760 Mon Sep 17 00:00:00 2001 From: Sytse Sijbrandij Date: Thu, 4 Dec 2014 21:22:21 +0100 Subject: [PATCH] Remove warning from db seed since it is called by db setup. --- doc/development/rake_tasks.md | 3 ++- lib/tasks/seed.rake | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 lib/tasks/seed.rake diff --git a/doc/development/rake_tasks.md b/doc/development/rake_tasks.md index ffa61e6613..53f8095cb1 100644 --- a/doc/development/rake_tasks.md +++ b/doc/development/rake_tasks.md @@ -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 diff --git a/lib/tasks/seed.rake b/lib/tasks/seed.rake deleted file mode 100644 index 7c006c1663..0000000000 --- a/lib/tasks/seed.rake +++ /dev/null @@ -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