Migrate database from gitlab 11.4 to 11.5 (Table 'repositories' exists)
Summary
When I try to update my current database from gitlab version 11.4 to 11.5 it says my table 'repositories' exists.
Steps to reproduce
Using a existing database:
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
What is the current bug behavior?
It says table "repositories" exist when I try to update my database from gitlab 11.4 to 11.5
What is the expected correct behavior?
It should finish the migration correctly without showing errors
Relevant logs and/or screenshots
This is the message:
Mysql2::Error: Table 'repositories' already exists: CREATE TABLE repositories
(id
bigint(20) auto_increment PRIMARY KEY, shard_id
int(11) NOT NULL, disk_path
varchar(255) NOT NULL, INDEX index_repositories_on_shard_id
(shard_id
) , UNIQUE INDEX index_repositories_on_disk_path
(disk_path
) ) ENGINE=InnoDB
Edited by Rumpeltilzky