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
4457ae82
Commit
4457ae82
authored
Sep 11, 2017
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated schema.rb
parent
d2267beb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
25 deletions
+29
-25
db/schema.rb
db/schema.rb
+29
-25
No files found.
db/schema.rb
View file @
4457ae82
...
@@ -32,8 +32,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -32,8 +32,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
text
"description"
,
null:
false
t
.
text
"description"
,
null:
false
t
.
string
"header_logo"
t
.
string
"header_logo"
t
.
string
"logo"
t
.
string
"logo"
t
.
datetime
_with_timezone
"created_at"
,
null:
false
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
_with_timezone
"updated_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
t
.
text
"description_html"
t
.
text
"description_html"
t
.
integer
"cached_markdown_version"
t
.
integer
"cached_markdown_version"
end
end
...
@@ -101,10 +101,6 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -101,10 +101,6 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
text
"help_page_text_html"
t
.
text
"help_page_text_html"
t
.
text
"shared_runners_text_html"
t
.
text
"shared_runners_text_html"
t
.
text
"after_sign_up_text_html"
t
.
text
"after_sign_up_text_html"
t
.
integer
"rsa_key_restriction"
,
default:
0
,
null:
false
t
.
integer
"dsa_key_restriction"
,
default:
0
,
null:
false
t
.
integer
"ecdsa_key_restriction"
,
default:
0
,
null:
false
t
.
integer
"ed25519_key_restriction"
,
default:
0
,
null:
false
t
.
boolean
"housekeeping_enabled"
,
default:
true
,
null:
false
t
.
boolean
"housekeeping_enabled"
,
default:
true
,
null:
false
t
.
boolean
"housekeeping_bitmaps_enabled"
,
default:
true
,
null:
false
t
.
boolean
"housekeeping_bitmaps_enabled"
,
default:
true
,
null:
false
t
.
integer
"housekeeping_incremental_repack_period"
,
default:
10
,
null:
false
t
.
integer
"housekeeping_incremental_repack_period"
,
default:
10
,
null:
false
...
@@ -129,10 +125,14 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -129,10 +125,14 @@ ActiveRecord::Schema.define(version: 20170921115009) do
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
.
boolean
"help_page_hide_commercial_content"
,
default:
false
t
.
string
"help_page_support_url"
t
.
string
"help_page_support_url"
t
.
boolean
"password_authentication_enabled"
t
.
integer
"performance_bar_allowed_group_id"
t
.
integer
"performance_bar_allowed_group_id"
t
.
boolean
"
hashed_storage_enabled"
,
default:
false
,
null:
false
t
.
boolean
"
password_authentication_enabled"
t
.
boolean
"project_export_enabled"
,
default:
true
,
null:
false
t
.
boolean
"project_export_enabled"
,
default:
true
,
null:
false
t
.
boolean
"hashed_storage_enabled"
,
default:
false
,
null:
false
t
.
integer
"rsa_key_restriction"
,
default:
0
,
null:
false
t
.
integer
"dsa_key_restriction"
,
default:
0
,
null:
false
t
.
integer
"ecdsa_key_restriction"
,
default:
0
,
null:
false
t
.
integer
"ed25519_key_restriction"
,
default:
0
,
null:
false
t
.
boolean
"auto_devops_enabled"
,
default:
false
,
null:
false
t
.
boolean
"auto_devops_enabled"
,
default:
false
,
null:
false
end
end
...
@@ -275,8 +275,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -275,8 +275,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
string
"encrypted_value_iv"
t
.
string
"encrypted_value_iv"
t
.
integer
"group_id"
,
null:
false
t
.
integer
"group_id"
,
null:
false
t
.
boolean
"protected"
,
default:
false
,
null:
false
t
.
boolean
"protected"
,
default:
false
,
null:
false
t
.
datetime
_with_timezone
"created_at"
,
null:
false
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
_with_timezone
"updated_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
end
end
add_index
"ci_group_variables"
,
[
"group_id"
,
"key"
],
name:
"index_ci_group_variables_on_group_id_and_key"
,
unique:
true
,
using: :btree
add_index
"ci_group_variables"
,
[
"group_id"
,
"key"
],
name:
"index_ci_group_variables_on_group_id_and_key"
,
unique:
true
,
using: :btree
...
@@ -288,8 +288,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -288,8 +288,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
string
"encrypted_value_salt"
t
.
string
"encrypted_value_salt"
t
.
string
"encrypted_value_iv"
t
.
string
"encrypted_value_iv"
t
.
integer
"pipeline_schedule_id"
,
null:
false
t
.
integer
"pipeline_schedule_id"
,
null:
false
t
.
datetime
_with_timezone
"created_at"
t
.
datetime
"created_at"
t
.
datetime
_with_timezone
"updated_at"
t
.
datetime
"updated_at"
end
end
add_index
"ci_pipeline_schedule_variables"
,
[
"pipeline_schedule_id"
,
"key"
],
name:
"index_ci_pipeline_schedule_variables_on_schedule_id_and_key"
,
unique:
true
,
using: :btree
add_index
"ci_pipeline_schedule_variables"
,
[
"pipeline_schedule_id"
,
"key"
],
name:
"index_ci_pipeline_schedule_variables_on_schedule_id_and_key"
,
unique:
true
,
using: :btree
...
@@ -341,8 +341,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -341,8 +341,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
integer
"auto_canceled_by_id"
t
.
integer
"auto_canceled_by_id"
t
.
integer
"pipeline_schedule_id"
t
.
integer
"pipeline_schedule_id"
t
.
integer
"source"
t
.
integer
"source"
t
.
integer
"config_source"
t
.
boolean
"protected"
t
.
boolean
"protected"
t
.
integer
"config_source"
end
end
add_index
"ci_pipelines"
,
[
"auto_canceled_by_id"
],
name:
"index_ci_pipelines_on_auto_canceled_by_id"
,
using: :btree
add_index
"ci_pipelines"
,
[
"auto_canceled_by_id"
],
name:
"index_ci_pipelines_on_auto_canceled_by_id"
,
using: :btree
...
@@ -515,8 +515,12 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -515,8 +515,12 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
string
"email"
,
null:
false
t
.
string
"email"
,
null:
false
t
.
datetime
"created_at"
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
t
.
datetime
"updated_at"
t
.
string
"confirmation_token"
t
.
datetime
"confirmed_at"
t
.
datetime
"confirmation_sent_at"
end
end
add_index
"emails"
,
[
"confirmation_token"
],
name:
"index_emails_on_confirmation_token"
,
unique:
true
,
using: :btree
add_index
"emails"
,
[
"email"
],
name:
"index_emails_on_email"
,
unique:
true
,
using: :btree
add_index
"emails"
,
[
"email"
],
name:
"index_emails_on_email"
,
unique:
true
,
using: :btree
add_index
"emails"
,
[
"user_id"
],
name:
"index_emails_on_user_id"
,
using: :btree
add_index
"emails"
,
[
"user_id"
],
name:
"index_emails_on_user_id"
,
using: :btree
...
@@ -538,8 +542,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -538,8 +542,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
integer
"project_id"
t
.
integer
"project_id"
t
.
integer
"author_id"
,
null:
false
t
.
integer
"author_id"
,
null:
false
t
.
integer
"target_id"
t
.
integer
"target_id"
t
.
datetime
_with_timezone
"created_at"
,
null:
false
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
_with_timezone
"updated_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
t
.
integer
"action"
,
limit:
2
,
null:
false
t
.
integer
"action"
,
limit:
2
,
null:
false
t
.
string
"target_type"
t
.
string
"target_type"
end
end
...
@@ -577,8 +581,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -577,8 +581,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
add_index
"forked_project_links"
,
[
"forked_to_project_id"
],
name:
"index_forked_project_links_on_forked_to_project_id"
,
unique:
true
,
using: :btree
add_index
"forked_project_links"
,
[
"forked_to_project_id"
],
name:
"index_forked_project_links_on_forked_to_project_id"
,
unique:
true
,
using: :btree
create_table
"gpg_keys"
,
force: :cascade
do
|
t
|
create_table
"gpg_keys"
,
force: :cascade
do
|
t
|
t
.
datetime
_with_timezone
"created_at"
,
null:
false
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
_with_timezone
"updated_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
t
.
integer
"user_id"
t
.
integer
"user_id"
t
.
binary
"primary_keyid"
t
.
binary
"primary_keyid"
t
.
binary
"fingerprint"
t
.
binary
"fingerprint"
...
@@ -590,8 +594,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -590,8 +594,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
add_index
"gpg_keys"
,
[
"user_id"
],
name:
"index_gpg_keys_on_user_id"
,
using: :btree
add_index
"gpg_keys"
,
[
"user_id"
],
name:
"index_gpg_keys_on_user_id"
,
using: :btree
create_table
"gpg_signatures"
,
force: :cascade
do
|
t
|
create_table
"gpg_signatures"
,
force: :cascade
do
|
t
|
t
.
datetime
_with_timezone
"created_at"
,
null:
false
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
_with_timezone
"updated_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
t
.
integer
"project_id"
t
.
integer
"project_id"
t
.
integer
"gpg_key_id"
t
.
integer
"gpg_key_id"
t
.
binary
"commit_sha"
t
.
binary
"commit_sha"
...
@@ -789,8 +793,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -789,8 +793,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
add_index
"members"
,
[
"user_id"
],
name:
"index_members_on_user_id"
,
using: :btree
add_index
"members"
,
[
"user_id"
],
name:
"index_members_on_user_id"
,
using: :btree
create_table
"merge_request_diff_commits"
,
id:
false
,
force: :cascade
do
|
t
|
create_table
"merge_request_diff_commits"
,
id:
false
,
force: :cascade
do
|
t
|
t
.
datetime
_with_timezone
"authored_date"
t
.
datetime
"authored_date"
t
.
datetime
_with_timezone
"committed_date"
t
.
datetime
"committed_date"
t
.
integer
"merge_request_diff_id"
,
null:
false
t
.
integer
"merge_request_diff_id"
,
null:
false
t
.
integer
"relative_order"
,
null:
false
t
.
integer
"relative_order"
,
null:
false
t
.
binary
"sha"
,
null:
false
t
.
binary
"sha"
,
null:
false
...
@@ -1113,8 +1117,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -1113,8 +1117,8 @@ ActiveRecord::Schema.define(version: 20170921115009) do
create_table
"project_auto_devops"
,
force: :cascade
do
|
t
|
create_table
"project_auto_devops"
,
force: :cascade
do
|
t
|
t
.
integer
"project_id"
,
null:
false
t
.
integer
"project_id"
,
null:
false
t
.
datetime
_with_timezone
"created_at"
,
null:
false
t
.
datetime
"created_at"
,
null:
false
t
.
datetime
_with_timezone
"updated_at"
,
null:
false
t
.
datetime
"updated_at"
,
null:
false
t
.
boolean
"enabled"
t
.
boolean
"enabled"
t
.
string
"domain"
t
.
string
"domain"
end
end
...
@@ -1204,7 +1208,6 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -1204,7 +1208,6 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
string
"repository_storage"
,
default:
"default"
,
null:
false
t
.
string
"repository_storage"
,
default:
"default"
,
null:
false
t
.
boolean
"request_access_enabled"
,
default:
false
,
null:
false
t
.
boolean
"request_access_enabled"
,
default:
false
,
null:
false
t
.
boolean
"has_external_wiki"
t
.
boolean
"has_external_wiki"
t
.
string
"ci_config_path"
t
.
boolean
"lfs_enabled"
t
.
boolean
"lfs_enabled"
t
.
text
"description_html"
t
.
text
"description_html"
t
.
boolean
"only_allow_merge_if_all_discussions_are_resolved"
t
.
boolean
"only_allow_merge_if_all_discussions_are_resolved"
...
@@ -1212,8 +1215,9 @@ ActiveRecord::Schema.define(version: 20170921115009) do
...
@@ -1212,8 +1215,9 @@ ActiveRecord::Schema.define(version: 20170921115009) do
t
.
integer
"auto_cancel_pending_pipelines"
,
default:
1
,
null:
false
t
.
integer
"auto_cancel_pending_pipelines"
,
default:
1
,
null:
false
t
.
string
"import_jid"
t
.
string
"import_jid"
t
.
integer
"cached_markdown_version"
t
.
integer
"cached_markdown_version"
t
.
text
"delete_error"
t
.
datetime
"last_repository_updated_at"
t
.
datetime
"last_repository_updated_at"
t
.
string
"ci_config_path"
t
.
text
"delete_error"
t
.
integer
"storage_version"
,
limit:
2
t
.
integer
"storage_version"
,
limit:
2
t
.
boolean
"resolve_outdated_diff_discussions"
t
.
boolean
"resolve_outdated_diff_discussions"
end
end
...
...
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