mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-06 06:51:34 +01:00
update db setup/instructions
This commit is contained in:
@@ -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
10
python/rounds.sqlite.init
Normal 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
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user