Commit 8e4625af614b58df97d60031c2b5c72f37f1a692
1 parent
b7f1cf9f
Exists in
master
and in
4 other branches
Remove project_id from keys table
Showing
2 changed files
with
10 additions
and
3 deletions
Show diff stats
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 => 20130506090604) do | 14 | +ActiveRecord::Schema.define(:version => 20130506095501) 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 |
@@ -76,12 +76,10 @@ ActiveRecord::Schema.define(:version => 20130506090604) do | @@ -76,12 +76,10 @@ ActiveRecord::Schema.define(:version => 20130506090604) do | ||
76 | t.text "key" | 76 | t.text "key" |
77 | t.string "title" | 77 | t.string "title" |
78 | t.string "identifier" | 78 | t.string "identifier" |
79 | - t.integer "project_id" | ||
80 | t.string "type" | 79 | t.string "type" |
81 | end | 80 | end |
82 | 81 | ||
83 | add_index "keys", ["identifier"], :name => "index_keys_on_identifier" | 82 | add_index "keys", ["identifier"], :name => "index_keys_on_identifier" |
84 | - add_index "keys", ["project_id"], :name => "index_keys_on_project_id" | ||
85 | add_index "keys", ["user_id"], :name => "index_keys_on_user_id" | 83 | add_index "keys", ["user_id"], :name => "index_keys_on_user_id" |
86 | 84 | ||
87 | create_table "merge_requests", :force => true do |t| | 85 | create_table "merge_requests", :force => true do |t| |