diff options
author | gitlabhq <m@gitlabhq.com> | 2011-10-27 17:41:10 +0300 |
---|---|---|
committer | gitlabhq <m@gitlabhq.com> | 2011-10-27 17:41:10 +0300 |
commit | f4e7ad7a4b8f188419104995e7b6346149ab31ab (patch) | |
tree | e378f3f3cecd2af2baa70f57b8a2784d36e59a7c /db | |
parent | 9611a27e0ca7e800d978d7355dbfb896f6f6cd2c (diff) | |
download | gitlab-ce-f4e7ad7a4b8f188419104995e7b6346149ab31ab.tar.gz |
fixed limit
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20111027142641_change_note_note_to_text.rb | 2 | ||||
-rw-r--r-- | 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 d762d361aec..1bcf4b72bc2 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 8dd75e75004..9c99e5328e5 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" |