discourse/db/fixtures
Krzysztof Kotlarek 2bb740cb16
FIX: reset cache after flags are seed (#28801)
There was a bug report on meta that after deployment, some topics were not loaded properly for 24 hours - https://meta.discourse.org/t/endless-spinner-on-some-posts/323031/17

In this PR we moved the `like` post action type to the database - https://github.com/discourse/discourse/pull/28362

However, flags are cached for performance reasons https://github.com/discourse/discourse/blob/main/app/serializers/site_serializer.rb#L113

After seed, we should ensure that the cache is reset so the site has access to all post-action types.
2024-09-09 10:40:43 +10:00
..
001_refresh.rb DEV: Apply syntax_tree formatting to `db/*` 2023-01-09 11:59:41 +00:00
002_groups.rb DEV: Apply syntax_tree formatting to `db/*` 2023-01-09 11:59:41 +00:00
003_flags.rb FIX: reset cache after flags are seed (#28801) 2024-09-09 10:40:43 +10:00
003_post_action_types.rb PERF: do not expire cache when PostActionType is saved (#28337) 2024-08-13 18:01:31 +10:00
004_screened_ip_addresses.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
005_badge_types.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
006_badges.rb UX: Update badge icons (#20462) 2023-02-28 10:42:05 +08:00
007_web_hook_event_types.rb DEV: Approved Post Webhook Event Category Update (#28725) 2024-09-04 13:58:17 +09:00
009_users.rb DEV: Use Discourse::SYSTEM_USER_ID in fixtures/009_users (#24743) 2023-12-07 09:04:45 +10:00
010_uploads.rb DEV: update comments on unused Uploads. -4 is now considered reserved. (#14362) 2021-09-16 17:44:51 -04:00
500_categories.rb DEV: Apply syntax_tree formatting to `db/*` 2023-01-09 11:59:41 +00:00
600_themes.rb DEV: Use Discourse::SYSTEM_USER_ID in fixtures/009_users (#24743) 2023-12-07 09:04:45 +10:00
990_settings.rb DEV: Only warn about invalid email setting in production 2020-04-15 11:21:21 -04:00
990_topics.rb DEV: Apply syntax_tree formatting to `db/*` 2023-01-09 11:59:41 +00:00