update db setup/instructions

This commit is contained in:
Yannik Schmidt
2020-06-20 21:48:56 +02:00
parent 32867bdc6f
commit 6e54904692
2 changed files with 12 additions and 1 deletions

View File

@@ -7,7 +7,8 @@ Skillbird is a framework around the python-Trueskill library, which can parse fi
python3 -m pip install -r req.txt python3 -m pip install -r req.txt
cd python/ cd python/
mkdir data/ mkdir data/
sqlite -init players.sqlite.init sqlite -init players.sqlite.init players.sqlite
sqlite -init rounds.sqlite.init rounds.sqlite
./init -h ./init -h
# Web Interface # Web Interface

10
python/rounds.sqlite.init Normal file
View File

@@ -0,0 +1,10 @@
create TABLE rounds (
timestamp TEXT PRIMARY KEY,
winners BLOB,
losers BLOB,
winnerSide INTEGER,
map TEXT,
duration REAL,
prediction INTEGER,
confidence REAL
);