Commit graph

6 commits

Author SHA1 Message Date
Jan Provaznik
0fc9f9d3e7 Add version 4.2 to all existing migrations
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
2018-11-22 13:18:28 +01:00
Tomasz Maczukin
403decbbad
Add explicit primary key for ci_builds_metadata table 2018-03-28 14:00:04 +02:00
Tomasz Maczukin
a1cd3390e5
Add project_id column to Ci::BuildMetadata 2018-03-28 13:58:34 +02:00
Tomasz Maczukin
d58d3098f1
Rename used_timeout to timeout 2018-03-28 13:58:16 +02:00
Tomasz Maczukin
bb64b20a1f
Refactorize Ci::Build and Ci::BuildMetadata models 2018-03-28 13:57:41 +02:00
Tomasz Maczukin
1dde609ca6
Move job timeout information to new ci_builds_metadata table 2018-03-28 13:57:40 +02:00