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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
125c07fa
Commit
125c07fa
authored
Aug 19, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add iid field to issues and MR
parent
4250c349
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
db/migrate/20130819182730_add_internal_ids_to_issues_and_mr.rb
...grate/20130819182730_add_internal_ids_to_issues_and_mr.rb
+6
-0
db/schema.rb
db/schema.rb
+3
-1
No files found.
db/migrate/20130819182730_add_internal_ids_to_issues_and_mr.rb
0 → 100644
View file @
125c07fa
class
AddInternalIdsToIssuesAndMr
<
ActiveRecord
::
Migration
def
change
add_column
:issues
,
:iid
,
:integer
add_column
:merge_requests
,
:iid
,
:integer
end
end
db/schema.rb
View file @
125c07fa
...
...
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
:version
=>
2013081
2143708
)
do
ActiveRecord
::
Schema
.
define
(
:version
=>
2013081
9182730
)
do
create_table
"deploy_keys_projects"
,
:force
=>
true
do
|
t
|
t
.
integer
"deploy_key_id"
,
:null
=>
false
...
...
@@ -62,6 +62,7 @@ ActiveRecord::Schema.define(:version => 20130812143708) do
t
.
text
"description"
t
.
integer
"milestone_id"
t
.
string
"state"
t
.
integer
"iid"
end
add_index
"issues"
,
[
"assignee_id"
],
:name
=>
"index_issues_on_assignee_id"
...
...
@@ -98,6 +99,7 @@ ActiveRecord::Schema.define(:version => 20130812143708) do
t
.
string
"state"
t
.
string
"merge_status"
t
.
integer
"target_project_id"
,
:null
=>
false
t
.
integer
"iid"
end
add_index
"merge_requests"
,
[
"assignee_id"
],
:name
=>
"index_merge_requests_on_assignee_id"
...
...
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