From 2e1d84be462b105da51ed2874fceb99dc92526eb Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Thu, 9 Jun 2016 14:51:57 -0700 Subject: Revert "Merge branch 'fix_issue_15259' into 'master' This reverts commit 4fbb284cfd8a23ed3b754e0f168752c1ab211a7c, reversing changes made to 69e72774f2be248b9ceb008d4ba6460a66da551e. --- lib/tasks/gitlab/db.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.1