From f4e7ad7a4b8f188419104995e7b6346149ab31ab Mon Sep 17 00:00:00 2001 From: gitlabhq Date: Thu, 27 Oct 2011 17:41:10 +0300 Subject: [PATCH] fixed limit --- db/migrate/20111027142641_change_note_note_to_text.rb | 2 +- db/schema.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20111027142641_change_note_note_to_text.rb b/db/migrate/20111027142641_change_note_note_to_text.rb index d762d361..1bcf4b72 100644 --- a/db/migrate/20111027142641_change_note_note_to_text.rb +++ b/db/migrate/20111027142641_change_note_note_to_text.rb @@ -1,6 +1,6 @@ class ChangeNoteNoteToText < ActiveRecord::Migration def up - change_column :notes, :note, :text + change_column :notes, :note, :text, :limit => false end def down diff --git a/db/schema.rb b/db/schema.rb index 8dd75e75..9c99e532 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -36,7 +36,7 @@ ActiveRecord::Schema.define(:version => 20111027142641) do end create_table "notes", :force => true do |t| - t.text "note", :limit => 255 + t.text "note" t.string "noteable_id" t.string "noteable_type" t.integer "author_id"