BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
5bea82de
Commit
5bea82de
authored
Jun 13, 2017
by
Robin Bobbitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help landing page customizations - db changes
parent
0037cf63
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb
...p_page_hide_commercial_content_to_application_settings.rb
+9
-0
20170602154813_add_help_page_support_url_to_application_settings.rb
...4813_add_help_page_support_url_to_application_settings.rb
+9
-0
schema.rb
db/schema.rb
+3
-0
No files found.
db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb
0 → 100644
View file @
5bea82de
class
AddHelpPageHideCommercialContentToApplicationSettings
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
change
add_column
:application_settings
,
:help_page_hide_commercial_content
,
:boolean
,
default:
false
end
end
db/migrate/20170602154813_add_help_page_support_url_to_application_settings.rb
0 → 100644
View file @
5bea82de
class
AddHelpPageSupportUrlToApplicationSettings
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
change
add_column
:application_settings
,
:help_page_support_url
,
:string
end
end
db/schema.rb
View file @
5bea82de
...
...
@@ -12,6 +12,7 @@
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
20170606202615
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
enable_extension
"pg_trgm"
...
...
@@ -123,6 +124,8 @@ ActiveRecord::Schema.define(version: 20170606202615) do
t
.
boolean
"clientside_sentry_enabled"
,
default:
false
,
null:
false
t
.
string
"clientside_sentry_dsn"
t
.
boolean
"prometheus_metrics_enabled"
,
default:
false
,
null:
false
t
.
boolean
"help_page_hide_commercial_content"
,
default:
false
t
.
string
"help_page_support_url"
end
create_table
"audit_events"
,
force: :cascade
do
|
t
|
...
...
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