note as text
This commit is contained in:
parent
5fe736ab28
commit
9611a27e0c
4 changed files with 12 additions and 4 deletions
8
db/migrate/20111027142641_change_note_note_to_text.rb
Normal file
8
db/migrate/20111027142641_change_note_note_to_text.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
class ChangeNoteNoteToText < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :notes, :note, :text
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue