cleanup and error printing

This commit is contained in:
Pablu
2025-10-28 12:02:25 +01:00
parent 15f0d190dc
commit cd5f72bfbe
4 changed files with 68 additions and 45 deletions

View File

@@ -11,12 +11,11 @@ import (
)
func main() {
s := `
CREATE TABLE TEST(
ID text PRIMARY KEY
);
s := `CREATE TABLE TEST(
ID text PRIMARY KEY
);
CREATE TABLE sessions (
CREATE TABLE sessions (
session_id text PRIMARY KEY,
access_token text NOT NULL,
user_email text NOT NULL,
@@ -62,7 +61,7 @@ CREATE TABLE IF NOT EXISTS auth_states (
code_verifier text NOT NULL
);
`
parser := sql.NewParser(strings.NewReader(s))
for {