summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-07-26 08:00:12 +0000
committerRémy Coutable <remy@rymai.me>2016-07-26 08:00:12 +0000
commit4bf20d677b2ec3bffae9fe2ca1abbbc0429b6b28 (patch)
tree3d36a1b1cb0c916a760743936d445bd3b4e8be10 /app/models/commit.rb
parent68162ba900f1b9003fa3d07613333f201be8154a (diff)
parentcfd103dbb55a37393966b764a55e0fe67b0232c3 (diff)
downloadgitlab-ce-4bf20d677b2ec3bffae9fe2ca1abbbc0429b6b28.tar.gz
Merge branch 'mysql_drop_all_tables' into 'master'
Disable MySQL foreign key checks before dropping all tables Fixes #20237. Disables MySQL foreign key checks before dropping all tables in a restore. MySQL doesn't honor `CASCADE` without a special flag when the database/tables are created. In order to drop the tables we need to disable foreign key checks. After the drop, re-enable the key checks. WIP: Pending confirmation from customer that this fix works. See merge request !5472
Diffstat (limited to 'app/models/commit.rb')
0 files changed, 0 insertions, 0 deletions