mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
moderators now have teeth, more at http://meta.discourse.org/t/moderator-permission-set/6307/5
allow pms to be targetted at groups
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class AddTopicAllowedGroups < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :topic_allowed_groups do |t|
|
||||
# oops
|
||||
t.integer :group_id, :integer, null: false
|
||||
t.integer :topic_id, :integer, null: false
|
||||
end
|
||||
|
||||
6
db/migrate/20130501105651_fix_topic_allowed_groups.rb
Normal file
6
db/migrate/20130501105651_fix_topic_allowed_groups.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class FixTopicAllowedGroups < ActiveRecord::Migration
|
||||
def change
|
||||
# big oops
|
||||
remove_column :topic_allowed_groups, :integer
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user