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

This commit is contained in:
Jasper Maes 2018-12-17 18:37:32 +01:00
parent 4a10c813e7
commit b9e67b7f3b
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