mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 17:34:27 +08:00

Moves the new draft creation concurrency handling to PostgreSQL so the database doesn't error out when the draft is being created by multiple backends. Also removes `retry_not_unique` parameter from Draft#set` which is not called anywhere. Also fixes a draft update not bumping the `updated_at` column.