discourse/app
Krzysztof Kotlarek ad3ec5809f
FIX: Dismiss new with better migration (#12062)
Original PR was reverted because of broken migration https://github.com/discourse/discourse/pull/12058

I fixed it by adding this line
```
          AND topics.id IN(SELECT id FROM topics ORDER BY created_at DESC LIMIT :max_new_topics)
```

This time it is left joining a limited amount of topics. I tested it on few databases and it worked quite smooth
2021-02-15 08:50:33 +11:00
..
assets FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
controllers FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
helpers A11Y: sets the html lang to user's locale when possible (#12007) 2021-02-10 16:12:09 +01:00
jobs FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
mailers FEATURE: reason to reject user signup (#11700) 2021-01-15 09:43:26 +11:00
models FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
serializers UX: show plugin descriptions on admin plugins page 2021-02-12 11:38:50 -05:00
services FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
views FEATURE: Rename 'Discourse SSO' to DiscourseConnect (#11978) 2021-02-08 10:04:33 +00:00