This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
mattermost
Watch
1
Star
0
Fork
You've already forked mattermost
0
mirror of
https://github.com/mattermost/mattermost.git
synced
2026-04-15 22:12:19 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
2
debug/binary-timeout
mattermost
/
server
/
channels
/
db
/
migrations
/
postgres
/
000081_threads_deleteat.down.sql
2 lines
54 B
MySQL
Raw
Permalink
Normal View
History
Unescape
Escape
MM-43770: Rename to Threads.ThreadDeleteAt (#20074) Old versions of the Mattermost server did not qualify queries scanning both `Posts` and `Threads`, and choke on the ambiguity in deciding between the new `DeleteAt` on `Threads` and the `DeleteAt` on `Posts` in existing queries. While this problem is transient only while running multiple server versions, it effectively makes our backwards compatibility guarantee void, not to mention complicating cloud deployments. Work around this by renaming `Threads.DeleteAt` to `Threads.ThreadDeleteAt`. The old migration is nulled out, but remains, since some test servers have already upgraded and manually fixing each affected instance would be problematic. Thew new migration takes care of removing the old column -- if it ever existed. Fixes: https://mattermost.atlassian.net/browse/MM-43770 Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-29 13:42:38 -04:00
-- Replaced by 000083_threads_threaddeleteat.down.sql
Reference in a new issue
Copy permalink