summaryrefslogtreecommitdiff
path: root/golang/pkg/database/sql
diff options
context:
space:
mode:
authorJulien Dessaux2024-06-01 01:25:16 +0200
committerJulien Dessaux2024-06-01 01:25:16 +0200
commit44477a6dbd1398657c892d649b364439739c473c (patch)
tree8762cebe5988506bc8d5879e984cb599add93c68 /golang/pkg/database/sql
parent[golang] simplified the api design some more (diff)
downloadspacetraders-44477a6dbd1398657c892d649b364439739c473c.tar.gz
spacetraders-44477a6dbd1398657c892d649b364439739c473c.tar.bz2
spacetraders-44477a6dbd1398657c892d649b364439739c473c.zip
[golang] fixed sql migrations
Diffstat (limited to '')
-rw-r--r--golang/pkg/database/sql/000_init.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/golang/pkg/database/sql/000_init.sql b/golang/pkg/database/sql/000_init.sql
index c06d2d3..bd92821 100644
--- a/golang/pkg/database/sql/000_init.sql
+++ b/golang/pkg/database/sql/000_init.sql
@@ -1,7 +1,7 @@
CREATE TABLE schema_version (
- version INTEGER NOT NULL
+ version INTEGER NOT NULL
);
CREATE TABLE tokens (
- id INTEGER PRIMARY KEY,
- data TEXT NOT NULL
+ id INTEGER PRIMARY KEY,
+ data TEXT NOT NULL
);