Commit 3820eca5 authored by Jasper Maes's avatar Jasper Maes

Directly inheriting from ActiveRecord::Migration is deprecated

parent 5b23f2b0
---
title: Directly inheriting from ActiveRecord::Migration is deprecated
merge_request: 25066
author: Jasper Maes
type: other
# frozen_string_literal: true
class AddFirstDayOfWeekToUserPreferences < ActiveRecord::Migration
class AddFirstDayOfWeekToUserPreferences < ActiveRecord::Migration[5.0]
DOWNTIME = false
def change
......
# frozen_string_literal: true
class AddFirstDayOfWeekToApplicationSettings < ActiveRecord::Migration
class AddFirstDayOfWeekToApplicationSettings < ActiveRecord::Migration[5.0]
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment