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
aa964852
Commit
aa964852
authored
Apr 20, 2020
by
Patrick Derichs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete columns from resource_milestone_events
Release M+1 Remove obsolete columns from db/structure.sql
parent
26762b65
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
changelogs/unreleased/remove-obsolete-resource-milestone-events-columns.yml
...sed/remove-obsolete-resource-milestone-events-columns.yml
+5
-0
db/post_migrate/20200401091051_remove_reference_columns_from_resource_milestone_events.rb
...emove_reference_columns_from_resource_milestone_events.rb
+11
-0
db/structure.sql
db/structure.sql
+1
-3
No files found.
changelogs/unreleased/remove-obsolete-resource-milestone-events-columns.yml
0 → 100644
View file @
aa964852
---
title
:
Remove obsolete columns from resource_milestone_events
merge_request
:
28536
author
:
type
:
other
db/post_migrate/20200401091051_remove_reference_columns_from_resource_milestone_events.rb
0 → 100644
View file @
aa964852
# frozen_string_literal: true
class
RemoveReferenceColumnsFromResourceMilestoneEvents
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
remove_column
:resource_milestone_events
,
:reference
,
:text
remove_column
:resource_milestone_events
,
:reference_html
,
:text
remove_column
:resource_milestone_events
,
:cached_markdown_version
,
:integer
end
end
db/structure.sql
View file @
aa964852
...
...
@@ -5597,9 +5597,6 @@ CREATE TABLE public.resource_milestone_events (
milestone_id
bigint
,
action
smallint
NOT
NULL
,
state
smallint
NOT
NULL
,
cached_markdown_version
integer
,
reference
text
,
reference_html
text
,
created_at
timestamp
with
time
zone
NOT
NULL
);
...
...
@@ -13217,6 +13214,7 @@ COPY "schema_migrations" (version) FROM STDIN;
20200331132103
20200331195952
20200331220930
20200401091051
20200401095430
20200401211005
20200402123926
...
...
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