Bianca Nenciu 300db3d3fa
FIX: Update draft count after creating a post ()
When a post is created, the draft sequence is increased and then older
drafts are automatically executing a raw SQL query. This skipped the
Draft model callbacks and did not update user's draft count.

I fixed another problem related to a raw SQL query from Draft.cleanup!
method.
2021-07-29 17:06:11 +03:00
..
2019-10-04 11:11:03 +10:00
2021-06-28 10:54:23 +08:00
2020-12-02 12:36:41 +05:30