diff options
author | Jose Torres <torres@balameb.com> | 2016-09-21 21:54:09 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-02-05 17:30:22 -0800 |
commit | 56c267e52cd84c82eec1319a5847016ed9dc37cc (patch) | |
tree | f435bfb828e72bc7bfc12aa03d3f705a131b472f /lib/api/api.rb | |
parent | d8e24e9d3896443e4b46c99a9b61a59d2a1acb2e (diff) | |
download | gitlab-ce-56c267e52cd84c82eec1319a5847016ed9dc37cc.tar.gz |
Fix MySQL error when truncating a table that doesn't exist
This adds a conditional statement before truncating the
`schema_migrations` table.
This comit also ports this code to Rails 5.
Diffstat (limited to 'lib/api/api.rb')
0 files changed, 0 insertions, 0 deletions