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
47b9ef3f
Commit
47b9ef3f
authored
Jun 08, 2018
by
Micaël Bergeron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the schema.rb
parent
55e5912e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
db/schema.rb
db/schema.rb
+7
-3
No files found.
db/schema.rb
View file @
47b9ef3f
...
...
@@ -39,13 +39,13 @@ ActiveRecord::Schema.define(version: 20180612175636) do
t
.
integer
"cached_markdown_version"
t
.
text
"new_project_guidelines"
t
.
text
"new_project_guidelines_html"
t
.
string
"favicon"
t
.
text
"header_message"
t
.
text
"header_message_html"
t
.
text
"footer_message"
t
.
text
"footer_message_html"
t
.
text
"message_background_color"
t
.
text
"message_font_color"
t
.
string
"favicon"
end
create_table
"application_setting_terms"
,
force: :cascade
do
|
t
|
...
...
@@ -549,10 +549,12 @@ ActiveRecord::Schema.define(version: 20180612175636) do
t
.
integer
"config_source"
t
.
boolean
"protected"
t
.
integer
"failure_reason"
t
.
integer
"iid"
end
add_index
"ci_pipelines"
,
[
"auto_canceled_by_id"
],
name:
"index_ci_pipelines_on_auto_canceled_by_id"
,
using: :btree
add_index
"ci_pipelines"
,
[
"pipeline_schedule_id"
],
name:
"index_ci_pipelines_on_pipeline_schedule_id"
,
using: :btree
add_index
"ci_pipelines"
,
[
"project_id"
,
"iid"
],
name:
"index_ci_pipelines_on_project_id_and_iid"
,
unique:
true
,
where:
"(iid IS NOT NULL)"
,
using: :btree
add_index
"ci_pipelines"
,
[
"project_id"
,
"ref"
,
"status"
,
"id"
],
name:
"index_ci_pipelines_on_project_id_and_ref_and_status_and_id"
,
using: :btree
add_index
"ci_pipelines"
,
[
"project_id"
,
"sha"
],
name:
"index_ci_pipelines_on_project_id_and_sha"
,
using: :btree
add_index
"ci_pipelines"
,
[
"project_id"
],
name:
"index_ci_pipelines_on_project_id"
,
using: :btree
...
...
@@ -2673,13 +2675,13 @@ ActiveRecord::Schema.define(version: 20180612175636) do
t
.
boolean
"notified_of_own_activity"
t
.
boolean
"support_bot"
t
.
string
"preferred_language"
t
.
string
"rss_token"
t
.
boolean
"email_opted_in"
t
.
string
"email_opted_in_ip"
t
.
integer
"email_opted_in_source_id"
t
.
datetime
"email_opted_in_at"
t
.
integer
"theme_id"
,
limit:
2
t
.
integer
"accepted_term_id"
t
.
string
"feed_token"
end
add_index
"users"
,
[
"admin"
],
name:
"index_users_on_admin"
,
using: :btree
...
...
@@ -2687,12 +2689,12 @@ ActiveRecord::Schema.define(version: 20180612175636) do
add_index
"users"
,
[
"created_at"
],
name:
"index_users_on_created_at"
,
using: :btree
add_index
"users"
,
[
"email"
],
name:
"index_users_on_email"
,
unique:
true
,
using: :btree
add_index
"users"
,
[
"email"
],
name:
"index_users_on_email_trigram"
,
using: :gin
,
opclasses:
{
"email"
=>
"gin_trgm_ops"
}
add_index
"users"
,
[
"feed_token"
],
name:
"index_users_on_feed_token"
,
using: :btree
add_index
"users"
,
[
"ghost"
],
name:
"index_users_on_ghost"
,
using: :btree
add_index
"users"
,
[
"incoming_email_token"
],
name:
"index_users_on_incoming_email_token"
,
using: :btree
add_index
"users"
,
[
"name"
],
name:
"index_users_on_name"
,
using: :btree
add_index
"users"
,
[
"name"
],
name:
"index_users_on_name_trigram"
,
using: :gin
,
opclasses:
{
"name"
=>
"gin_trgm_ops"
}
add_index
"users"
,
[
"reset_password_token"
],
name:
"index_users_on_reset_password_token"
,
unique:
true
,
using: :btree
add_index
"users"
,
[
"rss_token"
],
name:
"index_users_on_rss_token"
,
using: :btree
add_index
"users"
,
[
"state"
],
name:
"index_users_on_state"
,
using: :btree
add_index
"users"
,
[
"state"
],
name:
"index_users_on_state_and_internal_attrs"
,
where:
"((ghost <> true) AND (support_bot <> true))"
,
using: :btree
add_index
"users"
,
[
"support_bot"
],
name:
"index_users_on_support_bot"
,
using: :btree
...
...
@@ -2824,6 +2826,8 @@ ActiveRecord::Schema.define(version: 20180612175636) do
add_foreign_key
"clusters"
,
"users"
,
on_delete: :nullify
add_foreign_key
"clusters_applications_helm"
,
"clusters"
,
on_delete: :cascade
add_foreign_key
"clusters_applications_ingress"
,
"clusters"
,
name:
"fk_753a7b41c1"
,
on_delete: :cascade
add_foreign_key
"clusters_applications_jupyter"
,
"clusters"
,
on_delete: :cascade
add_foreign_key
"clusters_applications_jupyter"
,
"oauth_applications"
,
on_delete: :nullify
add_foreign_key
"clusters_applications_prometheus"
,
"clusters"
,
name:
"fk_557e773639"
,
on_delete: :cascade
add_foreign_key
"clusters_applications_runners"
,
"ci_runners"
,
column:
"runner_id"
,
name:
"fk_02de2ded36"
,
on_delete: :nullify
add_foreign_key
"clusters_applications_runners"
,
"clusters"
,
on_delete: :cascade
...
...
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