Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-10-27 18:41:10 +0400
committergitlabhq <m@gitlabhq.com>2011-10-27 18:41:10 +0400
commitf4e7ad7a4b8f188419104995e7b6346149ab31ab (patch)
treee378f3f3cecd2af2baa70f57b8a2784d36e59a7c /db
parent9611a27e0ca7e800d978d7355dbfb896f6f6cd2c (diff)
fixed limit
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20111027142641_change_note_note_to_text.rb2
-rw-r--r--db/schema.rb2
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"