fixed limit
This commit is contained in:
parent
9611a27e0c
commit
f4e7ad7a4b
|
@ -1,6 +1,6 @@
|
||||||
class ChangeNoteNoteToText < ActiveRecord::Migration
|
class ChangeNoteNoteToText < ActiveRecord::Migration
|
||||||
def up
|
def up
|
||||||
change_column :notes, :note, :text
|
change_column :notes, :note, :text, :limit => false
|
||||||
end
|
end
|
||||||
|
|
||||||
def down
|
def down
|
||||||
|
|
|
@ -36,7 +36,7 @@ ActiveRecord::Schema.define(:version => 20111027142641) do
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "notes", :force => true do |t|
|
create_table "notes", :force => true do |t|
|
||||||
t.text "note", :limit => 255
|
t.text "note"
|
||||||
t.string "noteable_id"
|
t.string "noteable_id"
|
||||||
t.string "noteable_type"
|
t.string "noteable_type"
|
||||||
t.integer "author_id"
|
t.integer "author_id"
|
||||||
|
|
Loading…
Reference in a new issue