DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/120758379
In rails 5 migrations should be versioned (more details in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21492#note_116685352 and https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21492#note_116814935).