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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
fd057d63
Commit
fd057d63
authored
Sep 09, 2020
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Column drop remove after release date
parent
8fca4b2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/what_requires_downtime.md
doc/development/what_requires_downtime.md
+3
-3
No files found.
doc/development/what_requires_downtime.md
View file @
fd057d63
...
...
@@ -30,14 +30,14 @@ places. This can be done by defining the columns to ignore. For example, to igno
```
ruby
class
User
<
ApplicationRecord
include
IgnorableColumns
ignore_column
:updated_at
,
remove_with:
'12.7'
,
remove_after:
'20
19-12
-22'
ignore_column
:updated_at
,
remove_with:
'12.7'
,
remove_after:
'20
20-01
-22'
end
```
Multiple columns can be ignored, too:
```
ruby
ignore_columns
%i[updated_at created_at]
,
remove_with:
'12.7'
,
remove_after:
'20
19-12
-22'
ignore_columns
%i[updated_at created_at]
,
remove_with:
'12.7'
,
remove_after:
'20
20-01
-22'
```
We require indication of when it is safe to remove the column ignore with:
...
...
@@ -45,7 +45,7 @@ We require indication of when it is safe to remove the column ignore with:
-
`remove_with`
: set to a GitLab release typically two releases (M+2) after adding the
column ignore.
-
`remove_after`
: set to a date after which we consider it safe to remove the column
ignore, typically
within the development cycle of release M+2
.
ignore, typically
last date of the development cycle of release M+2 - namely the release date
.
This information allows us to reason better about column ignores and makes sure we
don't remove column ignores too early for both regular releases and deployments to GitLab.com. For
...
...
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