Commit 125c07fa0aa31e6c83c8fcc90df623c2ef85832f
1 parent
4250c349
Exists in
master
and in
4 other branches
Add iid field to issues and MR
Showing
2 changed files
with
9 additions
and
1 deletions
Show diff stats
db/migrate/20130819182730_add_internal_ids_to_issues_and_mr.rb
0 → 100644
db/schema.rb
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | # | 11 | # |
12 | # It's strongly recommended to check this file into your version control system. | 12 | # It's strongly recommended to check this file into your version control system. |
13 | 13 | ||
14 | -ActiveRecord::Schema.define(:version => 20130812143708) do | 14 | +ActiveRecord::Schema.define(:version => 20130819182730) do |
15 | 15 | ||
16 | create_table "deploy_keys_projects", :force => true do |t| | 16 | create_table "deploy_keys_projects", :force => true do |t| |
17 | t.integer "deploy_key_id", :null => false | 17 | t.integer "deploy_key_id", :null => false |
@@ -62,6 +62,7 @@ ActiveRecord::Schema.define(:version => 20130812143708) do | @@ -62,6 +62,7 @@ ActiveRecord::Schema.define(:version => 20130812143708) do | ||
62 | t.text "description" | 62 | t.text "description" |
63 | t.integer "milestone_id" | 63 | t.integer "milestone_id" |
64 | t.string "state" | 64 | t.string "state" |
65 | + t.integer "iid" | ||
65 | end | 66 | end |
66 | 67 | ||
67 | add_index "issues", ["assignee_id"], :name => "index_issues_on_assignee_id" | 68 | add_index "issues", ["assignee_id"], :name => "index_issues_on_assignee_id" |
@@ -98,6 +99,7 @@ ActiveRecord::Schema.define(:version => 20130812143708) do | @@ -98,6 +99,7 @@ ActiveRecord::Schema.define(:version => 20130812143708) do | ||
98 | t.string "state" | 99 | t.string "state" |
99 | t.string "merge_status" | 100 | t.string "merge_status" |
100 | t.integer "target_project_id", :null => false | 101 | t.integer "target_project_id", :null => false |
102 | + t.integer "iid" | ||
101 | end | 103 | end |
102 | 104 | ||
103 | add_index "merge_requests", ["assignee_id"], :name => "index_merge_requests_on_assignee_id" | 105 | add_index "merge_requests", ["assignee_id"], :name => "index_merge_requests_on_assignee_id" |