Merge branch 'deprecated-directly-inheriting-migration' into 'master'

Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated.

See merge request gitlab-org/gitlab-ce!23884
This commit is contained in:
Rémy Coutable 2018-12-18 10:10:58 +00:00
commit 7a143215c3
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
title: 'Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated.'
merge_request: 23884
author: Jasper Maes
type: other

View file

@ -1,6 +1,6 @@
# frozen_string_literal: true
class CreateSuggestions < ActiveRecord::Migration
class CreateSuggestions < ActiveRecord::Migration[5.0]
DOWNTIME = false
def change