Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-14Fixed locking syntax for PostgreSQLYorick Peterse
2016-06-14Move LOCK TABLES to a separate executeYorick Peterse
MySQL apparently doesn't support executing multiple queries in the same `execute` call so we have to use a separate one for the "LOCK TABLES" statement.
2016-06-14Fix MySQL migration, obtain lock the right wayZ.J. van de Weg
As suggested by @yorrickpeterse in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4581#note_12373882 the locking of the MySQL database wasn't correct.
2016-06-14Fix timing issues on convertion migration award emojiZ.J. van de Weg
This commit does two things: 1. It adds logic which prevents timing issues when running the migration. During the migration, notes can be created which _should_ be award emoji and thus migrated. To prevent these timing issues, a lock is obtained on the table (MySQL) or on Transaction level (PG). 2. There was no down migration before as you'd probably lose some data. Data effected is all awards on notes. These could be migrated back, as the noteable type would just be Note, though this would litter the DB with data which should not be there. This down migration does not yet delete the table.
2016-06-09Enable RuboCop for migrationsSean McGivern
Migrations shouldn't fail RuboCop checks - especially lint checks, such as the nested method check. To avoid changing code in existing migrations, add the magic comment to the top of each of them to skip that file.
2016-06-01Incorportate feedbackZ.J. van de Weg
2016-05-11Incorporate feedbackZeger-Jan van de Weg
2016-05-06Create table for award emojiZeger-Jan van de Weg