Commit Graph

6 Commits

Author SHA1 Message Date
Mayra Cabrera 4706352416 Adds cop to enforce string limits on migrations
This cop will analyze migrations that add columns with string, and
report an offense if the string has no limit enforced

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64505
2019-08-23 21:36:12 +00:00
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
Chris Baumbauer 73789fdfd2 Fix the way hostname is validated with the knative app 2018-11-03 14:43:48 -07:00
Chris Baumbauer 28a9bbceb7 Remove comments from migration script and add usage data 2018-11-01 08:14:49 -07:00
Chris Baumbauer 6aa0645fa7 Rename knative domainname field to hostname and fix changelog entry 2018-10-30 14:12:10 -07:00
Chris Baumbauer b5155b90ee Knative support 2018-10-24 22:38:44 -07:00