discourse/app
Ted Johansson 93625ef07c
FIX: Make problem check tracker unique constraint work on PG13 (#29272)
In #29169 we added a NULLS NOT DISTINCT option to the unique index on problem_check_trackers. This is to enforce uniqueness even when the target is NULL. (Postgres considers all NULLs to be distinct by default.)

However, this only works in PG15. In PG13 it does nothing.

This commit adds a default dummy string value __NULL__ to target. Since it's a string, PG13 will be able to correctly identify duplicate records.
2024-10-21 10:45:09 +08:00
..
assets FIX: create-invite-uploader following uppy-upload mixin changes (#29278) 2024-10-18 12:44:13 +01:00
controllers FIX: bump the number of svg icons we return to first 500 (#29286) 2024-10-18 19:22:13 +02:00
helpers DEV: Drop `WithServiceHelper` 2024-09-05 09:58:20 +02:00
jobs DEV: Remove logical OR assignment of constants (#29201) 2024-10-16 10:09:07 +08:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models FIX: Make problem check tracker unique constraint work on PG13 (#29272) 2024-10-21 10:45:09 +08:00
serializers DEV: Set topic list filter name in serializer for children (#29291) 2024-10-18 17:24:47 -03:00
services DEV: Refactor some core services 2024-10-18 16:06:58 +02:00
views DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00