mirror of
https://github.com/discourse/discourse.git
synced 2025-02-13 06:45:11 +00:00
Previously our index was non unique, causing situations where a user could have multiple drafts stored in the table for the same exact entity. This does not properly reflect reality and needed to change as in certain cases duplicate drafts could be created causing internal data inconsistency