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
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
db/migrate/20170602154736_add_help_page_hide_commercial_content_to_application_settings.rb
...p_page_hide_commercial_content_to_application_settings.rb
+9
-0
db/migrate/20170602154813_add_help_page_support_url_to_application_settings.rb
...4813_add_help_page_support_url_to_application_settings.rb
+9
-0
db/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 @@
...
@@ -12,6 +12,7 @@
# It's strongly recommended that you check this file into your version control system.
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
20170606202615
)
do
ActiveRecord
::
Schema
.
define
(
version:
20170606202615
)
do
# These are extensions that must be enabled in order to support this database
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
enable_extension
"plpgsql"
enable_extension
"pg_trgm"
enable_extension
"pg_trgm"
...
@@ -123,6 +124,8 @@ ActiveRecord::Schema.define(version: 20170606202615) do
...
@@ -123,6 +124,8 @@ ActiveRecord::Schema.define(version: 20170606202615) do
t
.
boolean
"clientside_sentry_enabled"
,
default:
false
,
null:
false
t
.
boolean
"clientside_sentry_enabled"
,
default:
false
,
null:
false
t
.
string
"clientside_sentry_dsn"
t
.
string
"clientside_sentry_dsn"
t
.
boolean
"prometheus_metrics_enabled"
,
default:
false
,
null:
false
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
end
create_table
"audit_events"
,
force: :cascade
do
|
t
|
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