summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2019-02-09 16:40:03 +0100
committerJasper Maes <jaspermaes.jm@gmail.com>2019-02-09 16:46:54 +0100
commit3820eca5c47574378b3ddee219287dcb318e2f55 (patch)
tree70dab9c3a23b8b8cb76488fd9e7c2a1a17bea435 /db/migrate
parent5b23f2b016f4e5d33387d7474148d2a59b213ee6 (diff)
downloadgitlab-ce-3820eca5c47574378b3ddee219287dcb318e2f55.tar.gz
Directly inheriting from ActiveRecord::Migration is deprecated
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20181027114222_add_first_day_of_week_to_user_preferences.rb2
-rw-r--r--db/migrate/20181028120717_add_first_day_of_week_to_application_settings.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20181027114222_add_first_day_of_week_to_user_preferences.rb b/db/migrate/20181027114222_add_first_day_of_week_to_user_preferences.rb
index a0e76c2186e..96ba5fbd816 100644
--- a/db/migrate/20181027114222_add_first_day_of_week_to_user_preferences.rb
+++ b/db/migrate/20181027114222_add_first_day_of_week_to_user_preferences.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-class AddFirstDayOfWeekToUserPreferences < ActiveRecord::Migration
+class AddFirstDayOfWeekToUserPreferences < ActiveRecord::Migration[5.0]
DOWNTIME = false
def change
diff --git a/db/migrate/20181028120717_add_first_day_of_week_to_application_settings.rb b/db/migrate/20181028120717_add_first_day_of_week_to_application_settings.rb
index 53cfaa289f6..e9a8c1011ad 100644
--- a/db/migrate/20181028120717_add_first_day_of_week_to_application_settings.rb
+++ b/db/migrate/20181028120717_add_first_day_of_week_to_application_settings.rb
@@ -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!