katib icon indicating copy to clipboard operation
katib copied to clipboard

Add schema migration mechanism to Katib

Open inc0 opened this issue 6 years ago • 3 comments

This is critical pre-1.0.

Since we're using relational db, we will have schema, and schema will change as project evolves. For that reason, we will need upgrade path and migration path between version. We need mechanism that will allow storing migrations in code and run them as necessary, something like Alembic in python world.

Quick google shows https://github.com/golang-migrate/migrate and it looks promising, but we might need to do some more scrutiny.

inc0 avatar Sep 27 '18 12:09 inc0

@inc0 Thank you for a nice advice! I agree we need it. I want to support this by v0.04.

YujiOshima avatar Oct 01 '18 01:10 YujiOshima

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 26 '20 21:11 stale[bot]

/lifecycle frozen

andreyvelich avatar Nov 26 '20 23:11 andreyvelich