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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
75194ade
Commit
75194ade
authored
Apr 12, 2019
by
Vladimir Shushlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add auto_ssl_enabled for pages domains
parent
026c92d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
db/migrate/20190322164830_add_auto_ssl_enabled_to_pages_domain.rb
...te/20190322164830_add_auto_ssl_enabled_to_pages_domain.rb
+17
-0
db/schema.rb
db/schema.rb
+1
-0
No files found.
db/migrate/20190322164830_add_auto_ssl_enabled_to_pages_domain.rb
0 → 100644
View file @
75194ade
# frozen_string_literal: true
class
AddAutoSslEnabledToPagesDomain
<
ActiveRecord
::
Migration
[
5.0
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
add_column_with_default
:pages_domains
,
:auto_ssl_enabled
,
:boolean
,
default:
false
end
def
down
remove_column
:pages_domains
,
:auto_ssl_enabled
end
end
db/schema.rb
View file @
75194ade
...
@@ -1548,6 +1548,7 @@ ActiveRecord::Schema.define(version: 20190326164045) do
...
@@ -1548,6 +1548,7 @@ ActiveRecord::Schema.define(version: 20190326164045) do
t
.
string
"verification_code"
,
null:
false
t
.
string
"verification_code"
,
null:
false
t
.
datetime_with_timezone
"enabled_until"
t
.
datetime_with_timezone
"enabled_until"
t
.
datetime_with_timezone
"remove_at"
t
.
datetime_with_timezone
"remove_at"
t
.
boolean
"auto_ssl_enabled"
,
default:
false
,
null:
false
t
.
index
[
"domain"
],
name:
"index_pages_domains_on_domain"
,
unique:
true
,
using: :btree
t
.
index
[
"domain"
],
name:
"index_pages_domains_on_domain"
,
unique:
true
,
using: :btree
t
.
index
[
"project_id"
,
"enabled_until"
],
name:
"index_pages_domains_on_project_id_and_enabled_until"
,
using: :btree
t
.
index
[
"project_id"
,
"enabled_until"
],
name:
"index_pages_domains_on_project_id_and_enabled_until"
,
using: :btree
t
.
index
[
"project_id"
],
name:
"index_pages_domains_on_project_id"
,
using: :btree
t
.
index
[
"project_id"
],
name:
"index_pages_domains_on_project_id"
,
using: :btree
...
...
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