Favorites and database fixes, players info and extended server config.

Adding a favorite server now requires created valid profile. It will
not allow to create favorite server without proper profile.

Fixed servers updating database, now they put all fields there.

Added stubs for players info and extended server config things in
database.
This commit is contained in:
2016-10-05 02:47:13 +05:00
parent dbf5b60ead
commit c22744765b
5 changed files with 38 additions and 4 deletions

View File

@@ -34,4 +34,8 @@ type Server struct {
Password string `db:"password"`
// Profile to use with server.
ProfileToUse string `db:"profile_to_use"`
// Extended server's configuration.
ExtendedConfig string `db:"extended_config"`
// Players information.
PlayersInfo string `db:"players_info"`
}