Commit f4e7ad7a4b8f188419104995e7b6346149ab31ab

Authored by gitlabhq
1 parent 9611a27e

fixed limit

db/migrate/20111027142641_change_note_note_to_text.rb
1 1 class ChangeNoteNoteToText < ActiveRecord::Migration
2 2 def up
3   - change_column :notes, :note, :text
  3 + change_column :notes, :note, :text, :limit => false
4 4 end
5 5  
6 6 def down
... ...
db/schema.rb
... ... @@ -36,7 +36,7 @@ ActiveRecord::Schema.define(:version =&gt; 20111027142641) do
36 36 end
37 37  
38 38 create_table "notes", :force => true do |t|
39   - t.text "note", :limit => 255
  39 + t.text "note"
40 40 t.string "noteable_id"
41 41 t.string "noteable_type"
42 42 t.integer "author_id"
... ...