summaryrefslogtreecommitdiff
path: root/golang/pkg/database/sql
diff options
context:
space:
mode:
Diffstat (limited to 'golang/pkg/database/sql')
-rw-r--r--golang/pkg/database/sql/000_init.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/golang/pkg/database/sql/000_init.sql b/golang/pkg/database/sql/000_init.sql
new file mode 100644
index 0000000..c06d2d3
--- /dev/null
+++ b/golang/pkg/database/sql/000_init.sql
@@ -0,0 +1,7 @@
+CREATE TABLE schema_version (
+ version INTEGER NOT NULL
+);
+CREATE TABLE tokens (
+ id INTEGER PRIMARY KEY,
+ data TEXT NOT NULL
+);