mirror of
https://github.com/discourse/discourse.git
synced 2026-08-03 09:53:24 -05:00
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:
@@ -524,6 +524,7 @@ schema:
|
||||
- "topic_voting_votes"
|
||||
- "translation_overrides"
|
||||
- "unsubscribe_keys"
|
||||
- "upcoming_change_events"
|
||||
- "upload_references"
|
||||
- "uploads"
|
||||
- "user_actions"
|
||||
|
||||
Reference in New Issue
Block a user