Hi, we're using spiced as a library due
# spicedb
a
Hi, we're using spiced as a library due to custom middleware. For now, we use the "spicedb migrate" command line version, but we want to generate migrations from code to ensure that we use the same code version for both migrations and running spicedb. Is this possible? Because right now, I see that in order to create a migration manager, I need to create the migrations.NewAlembicPostgresDriver, which is an internal package.
v
It's not supported, but you could probably use the command line entrypoint? https://github.com/authzed/spicedb/blob/72380c58f3d2f9cf74904150e03ef404fab4bfe6/pkg/cmd/migrate.go#L34
a
Oh, yes, I see, thank you
4 Views