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
07a564ed
Commit
07a564ed
authored
Jun 07, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary index on created_at column on geo_event_log table
parent
fa574f9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
db/migrate/20170522201800_create_geo_event_log.rb
db/migrate/20170522201800_create_geo_event_log.rb
+1
-1
db/schema.rb
db/schema.rb
+0
-1
No files found.
db/migrate/20170522201800_create_geo_event_log.rb
View file @
07a564ed
...
...
@@ -3,7 +3,7 @@ class CreateGeoEventLog < ActiveRecord::Migration
def
change
create_table
:geo_event_log
,
id: :bigserial
do
|
t
|
t
.
datetime
:created_at
,
index:
true
,
null:
false
t
.
datetime
:created_at
,
null:
false
t
.
integer
:repository_updated_event_id
,
limit:
8
,
index:
true
t
.
foreign_key
:geo_repository_updated_events
,
...
...
db/schema.rb
View file @
07a564ed
...
...
@@ -505,7 +505,6 @@ ActiveRecord::Schema.define(version: 20170602003304) do
t
.
integer
"repository_updated_event_id"
,
limit:
8
end
add_index
"geo_event_log"
,
[
"created_at"
],
name:
"index_geo_event_log_on_created_at"
,
using: :btree
add_index
"geo_event_log"
,
[
"repository_updated_event_id"
],
name:
"index_geo_event_log_on_repository_updated_event_id"
,
using: :btree
create_table
"geo_nodes"
,
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