Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated.
This commit is contained in:
parent
4a10c813e7
commit
b9e67b7f3b
|
@ -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 New Issue