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
6be81a71
Commit
6be81a71
authored
May 31, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use 8 bytes for primary key values
parent
7354e4ab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
db/migrate/20170522194603_create_geo_push_events.rb
db/migrate/20170522194603_create_geo_push_events.rb
+1
-1
db/migrate/20170522201800_create_geo_event_log.rb
db/migrate/20170522201800_create_geo_event_log.rb
+1
-1
db/schema.rb
db/schema.rb
+2
-2
No files found.
db/migrate/20170522194603_create_geo_push_events.rb
View file @
6be81a71
...
...
@@ -2,7 +2,7 @@ class CreateGeoPushEvents < ActiveRecord::Migration
DOWNTIME
=
false
def
change
create_table
:geo_push_events
do
|
t
|
create_table
:geo_push_events
,
id: :bigserial
do
|
t
|
t
.
references
:project
,
index:
true
,
foreign_key:
{
on_delete: :cascade
},
null:
false
t
.
datetime
:created_at
,
null:
false
t
.
string
:ref
...
...
db/migrate/20170522201800_create_geo_event_log.rb
View file @
6be81a71
...
...
@@ -2,7 +2,7 @@ class CreateGeoEventLog < ActiveRecord::Migration
DOWNTIME
=
false
def
change
create_table
:geo_event_log
do
|
t
|
create_table
:geo_event_log
,
id: :bigserial
do
|
t
|
t
.
datetime
:created_at
,
index:
true
,
null:
false
t
.
integer
:push_event_id
,
index:
true
...
...
db/schema.rb
View file @
6be81a71
...
...
@@ -500,7 +500,7 @@ ActiveRecord::Schema.define(version: 20170602003304) do
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
"geo_event_log"
,
force: :cascade
do
|
t
|
create_table
"geo_event_log"
,
id: :bigserial
,
force: :cascade
do
|
t
|
t
.
datetime
"created_at"
,
null:
false
t
.
integer
"push_event_id"
end
...
...
@@ -528,7 +528,7 @@ ActiveRecord::Schema.define(version: 20170602003304) do
add_index
"geo_nodes"
,
[
"host"
],
name:
"index_geo_nodes_on_host"
,
using: :btree
add_index
"geo_nodes"
,
[
"primary"
],
name:
"index_geo_nodes_on_primary"
,
using: :btree
create_table
"geo_push_events"
,
force: :cascade
do
|
t
|
create_table
"geo_push_events"
,
id: :bigserial
,
force: :cascade
do
|
t
|
t
.
integer
"project_id"
,
null:
false
t
.
datetime
"created_at"
,
null:
false
t
.
string
"ref"
...
...
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