Merge branch 'deprecated-migration-inheritance' into 'master'
Directly inheriting from ActiveRecord::Migration is deprecated See merge request gitlab-org/gitlab-ce!25066
This commit is contained in:
commit
1569389fa2
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Directly inheriting from ActiveRecord::Migration is deprecated
|
||||
merge_request: 25066
|
||||
author: Jasper Maes
|
||||
type: other
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddFirstDayOfWeekToUserPreferences < ActiveRecord::Migration
|
||||
class AddFirstDayOfWeekToUserPreferences < ActiveRecord::Migration[5.0]
|
||||
DOWNTIME = false
|
||||
|
||||
def change
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddFirstDayOfWeekToApplicationSettings < ActiveRecord::Migration
|
||||
class AddFirstDayOfWeekToApplicationSettings < ActiveRecord::Migration[5.0]
|
||||
include Gitlab::Database::MigrationHelpers
|
||||
disable_ddl_transaction!
|
||||
|
||||
|
|
Loading…
Reference in New Issue