fix noteable key type

This commit is contained in:
Valery Sizov 2012-01-19 22:54:05 +02:00
parent e46dab1ac5
commit 4b06d82f3d
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class FixNotableKey < ActiveRecord::Migration
def change
change_column :notes, :noteable_id, :integer, :limit => 11
end
end