adds server to serve the static files, fixes db tables

This commit is contained in:
2019-06-18 15:44:49 +02:00
parent ef9124cc74
commit 9b3df58a08
9 changed files with 44 additions and 19 deletions

View File

@@ -1,9 +1,9 @@
CREATE TABLE players (
id INTEGER PRIMARY KEY,
id INTEGER PRIMARY KEY NOT NULL,
name VARCHAR NOT NULL,
debt INTEGER DEFAULT 0, -- debt to the group in copper pieces
cp INTEGER DEFAULT 0,
sp INTEGER DEFAULT 0,
gp INTEGER DEFAULT 0,
pp INTEGER DEFAULT 0
debt INTEGER DEFAULT 0 NOT NULL, -- debt to the group in copper pieces
cp INTEGER DEFAULT 0 NOT NULL,
sp INTEGER DEFAULT 0 NOT NULL,
gp INTEGER DEFAULT 0 NOT NULL,
pp INTEGER DEFAULT 0 NOT NULL
);