Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(katana-db): db migration from older version #1839

Closed
wants to merge 26 commits into from
Closed

Conversation

kariy
Copy link
Member

@kariy kariy commented Apr 15, 2024

  • add a migration process when initiating katana's db.
  • migrate the db schema from older version to the current version that the katana instance supports

@kariy
Copy link
Member Author

kariy commented Apr 15, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kariy and the rest of your teammates on Graphite Graphite

@kariy kariy changed the title init db migration feat(katana-db): db migration from older version Apr 15, 2024
@kariy kariy marked this pull request as ready for review April 15, 2024 17:10
@kariy kariy marked this pull request as draft April 15, 2024 17:13
@kariy kariy force-pushed the db-migration branch 2 times, most recently from 0f52ea0 to cb668e4 Compare April 16, 2024 20:52
@@ -38,6 +38,11 @@ define_schema_enum! {
(StorageChangeSet, TableType::DupSort)
]}

// TODO(kariy): maybe add database changelog ?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree on that, we may have this changelog in a txt/md file into the tables, or are you looking to have this info directly into the code comments?

@glihm glihm added the katana This issue is related to Katana label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
katana This issue is related to Katana
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants