DEV: Add upcoming_change_events to excluded tables in migrations (#37319)

What is the problem?

The `migrations/bin/cli schema generate --db=intermediate_db` command
fails with the error "Tables not configured or excluded:
upcoming_change_events". The `upcoming_change_events` table was added
in commit 8124ecab97 but was not added to the migrations schema
configuration.

What is the solution?

Add `upcoming_change_events` to the `global.tables.exclude` list in
`migrations/config/intermediate_db.yml`. This table is an internal
system table for tracking admin feature notifications and is not
relevant for data migrations between Discourse instances.
This commit is contained in:
Alan Guo Xiang Tan
2026-01-27 14:13:55 +08:00
committed by GitHub
parent 574028bff8
commit e890f6bae4
+1
View File
@@ -524,6 +524,7 @@ schema:
- "topic_voting_votes"
- "translation_overrides"
- "unsubscribe_keys"
- "upcoming_change_events"
- "upload_references"
- "uploads"
- "user_actions"