mirror of
https://github.com/FAUSheppy/skillbird
synced 2025-12-05 22:41:35 +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
|
||||
cd python/
|
||||
mkdir data/
|
||||
sqlite -init players.sqlite.init
|
||||
sqlite -init players.sqlite.init players.sqlite
|
||||
sqlite -init rounds.sqlite.init rounds.sqlite
|
||||
./init -h
|
||||
|
||||
# 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