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
b304d82e
Commit
b304d82e
authored
Dec 13, 2018
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add last verification columns to project_registry
parent
648a38d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
ee/db/geo/migrate/20181213184140_add_last_verification_columns_to_project_registry.rb
...4140_add_last_verification_columns_to_project_registry.rb
+12
-0
ee/db/geo/schema.rb
ee/db/geo/schema.rb
+3
-1
No files found.
ee/db/geo/migrate/20181213184140_add_last_verification_columns_to_project_registry.rb
0 → 100644
View file @
b304d82e
# frozen_string_literal: true
class
AddLastVerificationColumnsToProjectRegistry
<
ActiveRecord
::
Migration
[
4.2
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
change
add_column
:project_registry
,
:last_repository_verification_ran_at
,
:datetime_with_timezone
add_column
:project_registry
,
:last_wiki_verification_ran_at
,
:datetime_with_timezone
end
end
ee/db/geo/schema.rb
View file @
b304d82e
...
...
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
2018
0806020615
)
do
ActiveRecord
::
Schema
.
define
(
version:
2018
1213184140
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
...
...
@@ -79,6 +79,8 @@ ActiveRecord::Schema.define(version: 20180806020615) do
t
.
boolean
"wiki_missing_on_primary"
t
.
integer
"repository_verification_retry_count"
t
.
integer
"wiki_verification_retry_count"
t
.
datetime_with_timezone
"last_repository_verification_ran_at"
t
.
datetime_with_timezone
"last_wiki_verification_ran_at"
t
.
index
[
"last_repository_successful_sync_at"
],
name:
"idx_project_registry_synced_repositories_partial"
,
where:
"((resync_repository = false) AND (repository_retry_count IS NULL) AND (repository_verification_checksum_sha IS NOT NULL))"
,
using: :btree
t
.
index
[
"last_repository_successful_sync_at"
],
name:
"index_project_registry_on_last_repository_successful_sync_at"
,
using: :btree
t
.
index
[
"last_repository_synced_at"
],
name:
"index_project_registry_on_last_repository_synced_at"
,
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