discourse/db
Loïc Guitaut ec2ed5b7f6 FIX: Delete reviewables associated to posts automatically
Currently we don’t have an association between reviewables and posts.
This sometimes leads to inconsistencies in the DB as a post can have
been deleted but an associated reviewable is still present.

This patch addresses this issue simply by adding a new association to
the `Post` model and by using the `dependent: :destroy` option.
2023-01-25 09:45:36 +01:00
..
fixtures DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00
migrate FIX: deleted misconfigured embeddable hosts (#19833) 2023-01-20 13:29:49 +11:00
post_migrate FIX: Delete reviewables associated to posts automatically 2023-01-25 09:45:36 +01:00
api_test_seeds.rb DEV: Apply syntax_tree formatting to db/* 2023-01-09 11:59:41 +00:00