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

change gomigrate for dbmate #2648

Merged
merged 7 commits into from
Dec 6, 2023
Merged

Conversation

woutslakhorst
Copy link
Member

@woutslakhorst woutslakhorst commented Dec 5, 2023

closes #2646

there's one thingy: it requires a connection string so it opens a new connection to do migrations....

@woutslakhorst woutslakhorst mentioned this pull request Dec 5, 2023
storage/engine.go Outdated Show resolved Hide resolved
storage/engine.go Outdated Show resolved Hide resolved
storage/sql_migrations/001_initial.sql Outdated Show resolved Hide resolved
@woutslakhorst woutslakhorst force-pushed the feature/2646/goose_migrations branch from 6ab2cdc to 37c4088 Compare December 6, 2023 08:19
@@ -52,8 +52,6 @@ func Test_sqlStore_create(t *testing.T) {
verificationMethods, err := store.get(testDID)
require.NoError(t, err)
require.Len(t, verificationMethods, 2)
require.JSONEq(t, toJSON(vm1), toJSON(verificationMethods[0]))
Copy link
Member

Choose a reason for hiding this comment

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

maybe we should sort them, otherwise DID documents might change if order is not guaranteerd>

@woutslakhorst woutslakhorst merged commit 03e0eae into master Dec 6, 2023
8 of 9 checks passed
@woutslakhorst woutslakhorst deleted the feature/2646/goose_migrations branch December 6, 2023 10:09
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.

Investigate and migrate dbmigrate to pressly/goose
2 participants