track when tag subscriptions are used (for pruning)

This commit is contained in:
albert
2011-09-16 15:43:43 -04:00
parent abbaf7f7ec
commit 0457fa144d
2 changed files with 5 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ class CreateTagSubscriptions < ActiveRecord::Migration
t.column :tag_query, :string, :null => false
t.column :post_ids, :text, :null => false
t.column :is_public, :boolean, :null => false, :default => true
t.column :last_accessed_at, :datetime
t.timestamps
end