summaryrefslogtreecommitdiff
path: root/db/migrate/20170406115029_add_auto_canceled_by_id_foreign_key_to_ci_builds.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add version 4.2 to all existing migrationsjprovazn-versioned-migrationsJan Provaznik2018-11-221-1/+1
| | | | | | | | | DB schema generated by a migration may look different in rails 4 and 5 (because rails 5 may use different default values). For this reason it's important to explicitly set for which rails version a migration was written for. See https://stackoverflow.com/questions/35929869/activerecordmigration-deprecation-warning-asks-for-rails-version-but-im-no/35930912#35930912
* Also track auto-cancelling in jobs, detail:Lin Jen-Shin2017-04-061-0/+22
Not only tracking auto-cancelling in pipelines, we'll also track this in jobs because pipelines could be retried and the information would get lost when this happened. Also erase auto-cancelling relation for pipelines when they're retried.