diff options
author | Julien Dessaux | 2023-09-02 01:06:11 +0200 |
---|---|---|
committer | Julien Dessaux | 2023-09-02 01:06:11 +0200 |
commit | 9a71163dda2e0857e2fe3d32be18a54e35bc837c (patch) | |
tree | 49fe3370eae2ef86d8673f98a8dfb593c9525219 /nodejs/database/000_init.sql | |
parent | [javascript] implemented paginated requests (diff) | |
download | spacetraders-9a71163dda2e0857e2fe3d32be18a54e35bc837c.tar.gz spacetraders-9a71163dda2e0857e2fe3d32be18a54e35bc837c.tar.bz2 spacetraders-9a71163dda2e0857e2fe3d32be18a54e35bc837c.zip |
[javascript] began reworking token handling to match what is done with the haskell client
Diffstat (limited to '')
-rw-r--r-- | nodejs/database/000_init.sql | 5 |
1 files changed, 2 insertions, 3 deletions
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 ); |