added 2 new flag types: notify user and notify moderators

fixed up messed up user navigation
refactored
This commit is contained in:
Sam
2013-04-12 17:55:45 +10:00
parent 0f362c5474
commit e969eb14e8
20 changed files with 201 additions and 74 deletions

View File

@@ -0,0 +1,6 @@
class CorrectCountsOnPosts < ActiveRecord::Migration
def change
rename_column :posts, :custom_flag_count, :notify_moderators_count
add_column :posts, :notify_user_count, :integer, default: 0, null: false
end
end

View File

@@ -0,0 +1,6 @@
class CorrectCountsOnTopics < ActiveRecord::Migration
def change
rename_column :topics, :custom_flag_count, :notify_moderators_count
add_column :topics, :notify_user_count, :integer, default: 0, null: false
end
end