Join Discord
Powered by
you need to run the database migrations
# spicedb
j
Joey
12/26/2023, 3:00 PM
you need to run the database migrations in order to use a real database like Postgres
a
arykalin
12/27/2023, 7:54 AM
Thank you, can you suggest how it can be done using golang? I found method runMigration -
https://github.com/authzed/spicedb/blob/6e72bb745f400d494820bad5e3787d3161b0ac72/pkg/cmd/migrate.go#L101
But it is using internal package and I can not use it in my package.
j
Joey
12/27/2023, 4:29 PM
well, first question: why are you running it against Postgres if it is in-memory?
5
Views
Previous
Next