Commit 4b06d82f3dbb84d0a3fc4de837186b93f35fc942
1 parent
e46dab1a
Exists in
master
and in
4 other branches
fix noteable key type
Showing
2 changed files
with
7 additions
and
2 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 => 20120119202326) do | 14 | +ActiveRecord::Schema.define(:version => 20120119203233) do |
15 | 15 | ||
16 | create_table "issues", :force => true do |t| | 16 | create_table "issues", :force => true do |t| |
17 | t.string "title" | 17 | t.string "title" |
@@ -54,7 +54,7 @@ ActiveRecord::Schema.define(:version => 20120119202326) do | @@ -54,7 +54,7 @@ ActiveRecord::Schema.define(:version => 20120119202326) do | ||
54 | 54 | ||
55 | create_table "notes", :force => true do |t| | 55 | create_table "notes", :force => true do |t| |
56 | t.text "note" | 56 | t.text "note" |
57 | - t.string "noteable_id" | 57 | + t.integer "noteable_id", :limit => 255 |
58 | t.string "noteable_type" | 58 | t.string "noteable_type" |
59 | t.integer "author_id" | 59 | t.integer "author_id" |
60 | t.datetime "created_at" | 60 | t.datetime "created_at" |