mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Initial release of Discourse
This commit is contained in:
8
db/migrate/20130129010625_remove_pm_reflections.rb
Normal file
8
db/migrate/20130129010625_remove_pm_reflections.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class RemovePmReflections < ActiveRecord::Migration
|
||||
def up
|
||||
execute 'delete from topic_links where link_topic_id in (select id from topics where archetype = \'private_message\') '
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user