This commit is contained in:
albert
2012-03-12 17:50:45 -04:00
parent d5569bed5b
commit dd5a965884
17 changed files with 118 additions and 63 deletions

View File

@@ -7,6 +7,7 @@ class CreateForumTopics < ActiveRecord::Migration
t.column :response_count, :integer, :null => false, :default => 0
t.column :is_sticky, :boolean, :null => false, :default => false
t.column :is_locked, :boolean, :null => false, :default => false
t.column :is_deleted, :boolean, :null => false, :default => false
t.column :text_index, "tsvector", :null => false
t.timestamps
end

View File

@@ -6,6 +6,7 @@ class CreateForumPosts < ActiveRecord::Migration
t.column :updater_id, :integer, :null => false
t.column :body, :text, :null => false
t.column :text_index, "tsvector", :null => false
t.column :is_deleted, :boolean, :null => false, :default => false
t.timestamps
end