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
5e1d5357
Commit
5e1d5357
authored
Apr 27, 2018
by
Toon Claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Repository Check fields to Geo Project Registry
parent
624a2abb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
ee/db/geo/migrate/20180427114641_add_repository_check_to_geo_project_registry.rb
...427114641_add_repository_check_to_geo_project_registry.rb
+13
-0
ee/db/geo/schema.rb
ee/db/geo/schema.rb
+3
-1
No files found.
ee/db/geo/migrate/20180427114641_add_repository_check_to_geo_project_registry.rb
0 → 100644
View file @
5e1d5357
# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.
class
AddRepositoryCheckToGeoProjectRegistry
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
change
add_column
:project_registry
,
:last_repository_check_failed
,
:boolean
add_column
:project_registry
,
:last_repository_check_at
,
:datetime
end
end
ee/db/geo/schema.rb
View file @
5e1d5357
...
...
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
201804
19192603
)
do
ActiveRecord
::
Schema
.
define
(
version:
201804
27114641
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
...
...
@@ -74,6 +74,8 @@ ActiveRecord::Schema.define(version: 20180419192603) do
t
.
binary
"wiki_verification_checksum_sha"
t
.
boolean
"repository_checksum_mismatch"
,
default:
false
,
null:
false
t
.
boolean
"wiki_checksum_mismatch"
,
default:
false
,
null:
false
t
.
boolean
"last_repository_check_failed"
t
.
datetime
"last_repository_check_at"
end
add_index
"project_registry"
,
[
"last_repository_successful_sync_at"
],
name:
"index_project_registry_on_last_repository_successful_sync_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