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:33:20 +0400
committergitlabhq <m@gitlabhq.com>2011-10-27 18:33:20 +0400
commit9611a27e0ca7e800d978d7355dbfb896f6f6cd2c (patch)
tree68c818639ed4d0c2eb311239d1dcd6256063429b /db
parent5fe736ab2847a5fd7f85363197e3ae0cbfd959e1 (diff)
note as text
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20111027142641_change_note_note_to_text.rb8
-rw-r--r--db/schema.rb4
2 files changed, 10 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
new file mode 100644
index 00000000000..d762d361aec
--- /dev/null
+++ b/db/migrate/20111027142641_change_note_note_to_text.rb
@@ -0,0 +1,8 @@
+class ChangeNoteNoteToText < ActiveRecord::Migration
+ def up
+ change_column :notes, :note, :text
+ end
+
+ def down
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 21c224d4a90..8dd75e75004 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20111025134235) do
+ActiveRecord::Schema.define(:version => 20111027142641) do
create_table "issues", :force => true do |t|
t.string "title"
@@ -36,7 +36,7 @@ ActiveRecord::Schema.define(:version => 20111025134235) do
end
create_table "notes", :force => true do |t|
- t.string "note"
+ t.text "note", :limit => 255
t.string "noteable_id"
t.string "noteable_type"
t.integer "author_id"