mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
added 2 new flag types: notify user and notify moderators
fixed up messed up user navigation refactored
This commit is contained in:
6
db/migrate/20130412015502_correct_counts_on_posts.rb
Normal file
6
db/migrate/20130412015502_correct_counts_on_posts.rb
Normal 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
|
||||
6
db/migrate/20130412020156_correct_counts_on_topics.rb
Normal file
6
db/migrate/20130412020156_correct_counts_on_topics.rb
Normal 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
|
||||
Reference in New Issue
Block a user