diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2016-02-11 18:22:14 +0000 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2016-02-11 18:22:14 +0000 |
commit | 95d16e75a385e8c2effc79646951dd67c6b080ad (patch) | |
tree | ab0ec4457fcf8c3c35ba4fae501cbf63777bd5fa | |
parent | c9919f3b1443b3e7d18d109954c41119ee6c292d (diff) | |
parent | f8036ec9107d64cb27f0e5cb0ed0dfd9c88ca833 (diff) | |
download | gitlab-ce-95d16e75a385e8c2effc79646951dd67c6b080ad.tar.gz |
Merge branch 'remove_sqlite_check' into 'master'
Remove sqlite check in raketask
This is a relic from 4 major releases ago. Time to remove it.
See merge request !2777
-rw-r--r-- | lib/tasks/gitlab/check.rake | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake index 2dc2953e328..54d95cd62a5 100644 --- a/lib/tasks/gitlab/check.rake +++ b/lib/tasks/gitlab/check.rake @@ -90,24 +90,6 @@ namespace :gitlab do end end - def check_database_is_not_sqlite - print "Database is SQLite ... " - - database_config_file = Rails.root.join("config", "database.yml") - - unless File.read(database_config_file) =~ /adapter:\s+sqlite/ - puts "no".green - else - puts "yes".red - puts "Please fix this by removing the SQLite entry from the database.yml".blue - for_more_information( - "https://github.com/gitlabhq/gitlabhq/wiki/Migrate-from-SQLite-to-MySQL", - see_database_guide - ) - fix_and_rerun - end - end - def check_gitlab_config_exists print "GitLab config exists? ... " |