Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
3820eca5
Commit
3820eca5
authored
Feb 09, 2019
by
Jasper Maes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Directly inheriting from ActiveRecord::Migration is deprecated
parent
5b23f2b0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
changelogs/unreleased/deprecated-migration-inheritance.yml
changelogs/unreleased/deprecated-migration-inheritance.yml
+5
-0
db/migrate/20181027114222_add_first_day_of_week_to_user_preferences.rb
...181027114222_add_first_day_of_week_to_user_preferences.rb
+1
-1
db/migrate/20181028120717_add_first_day_of_week_to_application_settings.rb
...28120717_add_first_day_of_week_to_application_settings.rb
+1
-1
No files found.
changelogs/unreleased/deprecated-migration-inheritance.yml
0 → 100644
View file @
3820eca5
---
title
:
Directly inheriting from ActiveRecord::Migration is deprecated
merge_request
:
25066
author
:
Jasper Maes
type
:
other
db/migrate/20181027114222_add_first_day_of_week_to_user_preferences.rb
View file @
3820eca5
# frozen_string_literal: true
class
AddFirstDayOfWeekToUserPreferences
<
ActiveRecord
::
Migration
class
AddFirstDayOfWeekToUserPreferences
<
ActiveRecord
::
Migration
[
5.0
]
DOWNTIME
=
false
def
change
...
...
db/migrate/20181028120717_add_first_day_of_week_to_application_settings.rb
View file @
3820eca5
# frozen_string_literal: true
class
AddFirstDayOfWeekToApplicationSettings
<
ActiveRecord
::
Migration
class
AddFirstDayOfWeekToApplicationSettings
<
ActiveRecord
::
Migration
[
5.0
]
include
Gitlab
::
Database
::
MigrationHelpers
disable_ddl_transaction!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment