Commit 1569389f authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'deprecated-migration-inheritance' into 'master'

Directly inheriting from ActiveRecord::Migration is deprecated

See merge request gitlab-org/gitlab-ce!25066
parents e927833b 3820eca5
---
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