MySQL: Reorder fields in stats_hood table

This is meant to reflect the order of the primary key.

This is just a change of the database!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2017-12-29 12:16:56 +01:00
parent 069da3aac4
commit 82118eed92

View File

@ -26,8 +26,8 @@ mysql.execute("""
mysql.execute("""
CREATE TABLE stats_hood (
`hood` varchar(30) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`time` int(11) NOT NULL,
`hood` varchar(30) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`clients` mediumint(9) NOT NULL,
`online` smallint(6) NOT NULL,
`offline` smallint(6) NOT NULL,