fixed commit commenting
This commit is contained in:
parent
3d7b35a37d
commit
f4e3ec29c4
7 changed files with 84 additions and 7 deletions
9
db/migrate/20120121122616_fix_noteable_id.rb
Normal file
9
db/migrate/20120121122616_fix_noteable_id.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
class FixNoteableId < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :notes, :noteable_id, :string, :limit => 255
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :notes, :noteable_id, :integer, :limit => 11
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue