Bianca Nenciu 300db3d3fa
FIX: Update draft count after creating a post (#13884)
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
..
2020-04-28 15:59:39 +05:30
2019-11-29 15:49:08 +00:00
2020-10-27 23:42:33 +05:30
2019-10-21 12:08:20 +01:00
2020-05-05 13:46:57 +10:00
2021-04-14 10:27:07 +03:00
2020-10-27 23:42:33 +05:30
2019-10-17 16:58:22 +11:00