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
974a30b3
Commit
974a30b3
authored
Apr 13, 2021
by
Michael Kozono
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ag-fix-geo-db-schema' into 'master'
Update Geo db schema See merge request gitlab-org/gitlab!59035
parents
89511ef4
41bfe5be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ee/db/geo/schema.rb
ee/db/geo/schema.rb
+4
-1
No files found.
ee/db/geo/schema.rb
View file @
974a30b3
...
...
@@ -70,9 +70,9 @@ ActiveRecord::Schema.define(version: 2021_03_25_150435) do
t
.
bigint
"group_wiki_repository_id"
,
null:
false
t
.
integer
"state"
,
limit:
2
,
default:
0
,
null:
false
t
.
integer
"retry_count"
,
limit:
2
,
default:
0
t
.
text
"last_sync_failure"
t
.
boolean
"force_to_redownload"
t
.
boolean
"missing_on_primary"
t
.
text
"last_sync_failure"
t
.
index
[
"group_wiki_repository_id"
],
name:
"index_g_wiki_repository_registry_on_group_wiki_repository_id"
,
unique:
true
t
.
index
[
"retry_at"
],
name:
"index_group_wiki_repository_registry_on_retry_at"
t
.
index
[
"state"
],
name:
"index_group_wiki_repository_registry_on_state"
...
...
@@ -258,6 +258,9 @@ ActiveRecord::Schema.define(version: 2021_03_25_150435) do
t
.
index
[
"retry_at"
],
name:
"index_snippet_repository_registry_on_retry_at"
t
.
index
[
"snippet_repository_id"
],
name:
"index_snippet_repository_registry_on_snippet_repository_id"
,
unique:
true
t
.
index
[
"state"
],
name:
"index_snippet_repository_registry_on_state"
t
.
index
[
"verification_retry_at"
],
name:
"snippet_repository_registry_failed_verification"
,
order:
"NULLS FIRST"
,
where:
"((state = 2) AND (verification_state = 3))"
t
.
index
[
"verification_state"
],
name:
"snippet_repository_registry_needs_verification"
,
where:
"((state = 2) AND (verification_state = ANY (ARRAY[0, 3])))"
t
.
index
[
"verified_at"
],
name:
"snippet_repository_registry_pending_verification"
,
order:
"NULLS FIRST"
,
where:
"((state = 2) AND (verification_state = 0))"
end
create_table
"terraform_state_version_registry"
,
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