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:
commit
7a143215c3
2 changed files with 6 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: 'Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated.'
|
||||
merge_request: 23884
|
||||
author: Jasper Maes
|
||||
type: other
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class CreateSuggestions < ActiveRecord::Migration
|
||||
class CreateSuggestions < ActiveRecord::Migration[5.0]
|
||||
DOWNTIME = false
|
||||
|
||||
def change
|
||||
|
|
Loading…
Reference in a new issue