From 6e549046929f0025879f5fd5843761e5257bd733 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sat, 20 Jun 2020 21:48:56 +0200 Subject: [PATCH] update db setup/instructions --- README.md | 3 ++- python/rounds.sqlite.init | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 python/rounds.sqlite.init diff --git a/README.md b/README.md index 050746c..14ec77b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/python/rounds.sqlite.init b/python/rounds.sqlite.init new file mode 100644 index 0000000..bcfb09d --- /dev/null +++ b/python/rounds.sqlite.init @@ -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 +);