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

Fix DB connection String #10

Merged

Conversation

DukeDavis12
Copy link
Contributor

Fix DB connection String

Fix DB connection String

Signed-off-by: Davis Benny <[email protected]>
Copy link
Member

@ben-krieger ben-krieger left a comment

Choose a reason for hiding this comment

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

This was broken in this diff:

bf565688 Ben Krieger (2024-10-07 12:35):
Create sqlite.Init function for connections that are not local files

Signed-off-by: Ben Krieger <[email protected]>

Hunk 1 of 7 @@ -51,2 +51,1 @@
-	// Open a new or existing DB
-	query := "?_pragma=foreign_keys(ON)"
+	var query string

because the foreign key pragma was moved to Init.

@ben-krieger ben-krieger merged commit fd239a9 into fido-device-onboard:main Oct 17, 2024
5 checks passed
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.

2 participants