Skip to content

Store history of level metadata - #879

Merged
jvyden merged 6 commits into
LittleBigRefresh:mainfrom
jvyden:level-revisions
Jul 23, 2025
Merged

Store history of level metadata#879
jvyden merged 6 commits into
LittleBigRefresh:mainfrom
jvyden:level-revisions

Conversation

@jvyden

@jvyden jvyden commented Jul 23, 2025

Copy link
Copy Markdown
Member

Closes #618.

This is the primary reason I implemented migration jobs - after startup Refresh will automatically begin populating the GameLevelRevisions with the current state of GameLevels.

I also removed Write(Action) calls in favor of SaveChanges in a couple places I touched - this makes the diff a bit messy but I only changed that and added a call to create the revisions. Should be easy to review still. I made some minor adjustments to the MigrationJob class to add logging and enforce ordering to be implemented.

This PR doesn't handle retrieval through any APIs - that will be handled in a follow-up PR. This PR only concerns storage.

@jvyden
jvyden merged commit e005a1f into LittleBigRefresh:main Jul 23, 2025
3 checks passed
@jvyden
jvyden deleted the level-revisions branch July 23, 2025 06:23
@jvyden jvyden added this to the Import dry archive milestone Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Store history of level hash for levels

1 participant