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
af4a70dd
Commit
af4a70dd
authored
Nov 20, 2020
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop unused feature_filter_type experiment column
parent
e1dff736
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
1 deletion
+27
-1
changelogs/unreleased/270409-experiment-cleanup-drop-feature-filter-type-column.yml
...09-experiment-cleanup-drop-feature-filter-type-column.yml
+5
-0
db/post_migrate/20201120071303_drop_feature_filter_type_from_user_preferences.rb
...0071303_drop_feature_filter_type_from_user_preferences.rb
+21
-0
db/schema_migrations/20201120071303
db/schema_migrations/20201120071303
+1
-0
db/structure.sql
db/structure.sql
+0
-1
No files found.
changelogs/unreleased/270409-experiment-cleanup-drop-feature-filter-type-column.yml
0 → 100644
View file @
af4a70dd
---
title
:
Drop unused feature_filter_type experiment column
merge_request
:
48221
author
:
type
:
deprecated
db/post_migrate/20201120071303_drop_feature_filter_type_from_user_preferences.rb
0 → 100644
View file @
af4a70dd
# frozen_string_literal: true
class
DropFeatureFilterTypeFromUserPreferences
<
ActiveRecord
::
Migration
[
6.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
with_lock_retries
do
remove_column
:user_preferences
,
:feature_filter_type
end
end
def
down
with_lock_retries
do
add_column
:user_preferences
,
:feature_filter_type
,
:bigint
end
end
end
db/schema_migrations/20201120071303
0 → 100644
View file @
af4a70dd
9684403a075bd1ddf3ae9290ad9a39ed24f4624d99498f8b8ed567588c15e082
\ No newline at end of file
db/structure.sql
View file @
af4a70dd
...
...
@@ -16886,7 +16886,6 @@ CREATE TABLE user_preferences (
setup_for_company
boolean
,
render_whitespace_in_code
boolean
,
tab_width
smallint
,
feature_filter_type
bigint
,
experience_level
smallint
,
view_diffs_file_by_file
boolean
DEFAULT
false
NOT
NULL
,
gitpod_enabled
boolean
DEFAULT
false
NOT
NULL
...
...
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