From 9a71163dda2e0857e2fe3d32be18a54e35bc837c Mon Sep 17 00:00:00 2001
From: Julien Dessaux
Date: Sat, 2 Sep 2023 01:06:11 +0200
Subject: [javascript] began reworking token handling to match what is done
 with the haskell client

---
 nodejs/database/000_init.sql | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'nodejs/database/000_init.sql')

diff --git a/nodejs/database/000_init.sql b/nodejs/database/000_init.sql
index ecda95a..c06d2d3 100644
--- a/nodejs/database/000_init.sql
+++ b/nodejs/database/000_init.sql
@@ -1,8 +1,7 @@
 CREATE TABLE schema_version (
 	version INTEGER NOT NULL
 );
-CREATE TABLE config (
+CREATE TABLE tokens (
 	id INTEGER PRIMARY KEY,
-	key TEXT NOT NULL UNIQUE,
-	value TEXT NOT NULL
+	data TEXT NOT NULL
 );
-- 
cgit v1.2.3

