summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-06-09 14:51:57 -0700
committerStan Hu <stanhu@gmail.com>2016-06-09 14:51:57 -0700
commit2e1d84be462b105da51ed2874fceb99dc92526eb (patch)
tree5268c83844eae3183ffcb176250c14c1540133ee
parent5f803f0fd1676c5a77eaa800c3036729bac0db98 (diff)
downloadgitlab-ce-revert-4fbb284c.tar.gz
Revert "Merge branch 'fix_issue_15259' into 'master'revert-4fbb284c
This reverts commit 4fbb284cfd8a23ed3b754e0f168752c1ab211a7c, reversing changes made to 69e72774f2be248b9ceb008d4ba6460a66da551e.
-rw-r--r--lib/tasks/gitlab/db.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/db.rake b/lib/tasks/gitlab/db.rake
index e3135532540..86584e91093 100644
--- a/lib/tasks/gitlab/db.rake
+++ b/lib/tasks/gitlab/db.rake
@@ -34,7 +34,7 @@ namespace :gitlab do
# PG: http://www.postgresql.org/docs/current/static/ddl-depend.html
# MySQL: http://dev.mysql.com/doc/refman/5.7/en/drop-table.html
# Add `IF EXISTS` because cascade could have already deleted a table.
- tables.each { |t| connection.execute("DROP TABLE IF EXISTS `#{t}` CASCADE") }
+ tables.each { |t| connection.execute("DROP TABLE IF EXISTS #{t} CASCADE") }
end
desc 'Configures the database by running migrate, or by loading the schema and seeding if needed'