[Character] Add saved_variables.NextCurrenciesResetTime (Rel22_03_004)#132
Merged
billy1arm merged 1 commit intoJul 4, 2026
Merged
Conversation
Paired with mangosthree/server#297 (weekly currency cap reset). Chains db_version 22/03/003 -> 22/03/004, so it sequences after Rel22_03_003 (#296); if landing alone, renumber to 003.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
saved_variables.NextCurrenciesResetTime— the column the core reads/writes to schedule the Cata weekly currency-cap reset.Pairs with mangosthree/server#297: without this column the currency reset queries silently fail, so
character_currencies.weekCountnever resets and the weekly Conquest cap becomes a permanent lifetime cap. #297 restores the wiring.Guarded, idempotent, transactional migration; chains
db_version22/03/003 → 22/03/004. Sequences after Rel22_03_003 (this PR, and core #296) — the two are a schema pair. If Rel22_03_003 isn't taken, this should be renumbered to 003.This change is