upgrade schema fixes

This commit is contained in:
albert
2011-11-09 11:22:45 -05:00
parent 4b1fe3ab8f
commit 3b961481f3
2 changed files with 9 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ class CreateDmails < ActiveRecord::Migration
t.column :owner_id, :integer, :null => false
t.column :from_id, :integer, :null => false
t.column :to_id, :integer, :null => false
t.column :title, :string, :null => false
t.column :title, :text, :null => false
t.column :body, :text, :null => false
t.column :message_index, "tsvector", :null => false
t.column :is_read, :boolean, :null => false, :default => false