fic: Add team's external_id to allow team and score synchronisation

This commit is contained in:
nemunaire 2021-09-03 17:23:00 +02:00
commit 5c12963da8
5 changed files with 30 additions and 26 deletions

View file

@ -98,7 +98,8 @@ CREATE TABLE IF NOT EXISTS teams(
id_team INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(255) NOT NULL,
color INTEGER NOT NULL,
active BOOLEAN NOT NULL DEFAULT 1
active BOOLEAN NOT NULL DEFAULT 1,
external_id VARCHAR(255) NOT NULL
) DEFAULT CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci;
`); err != nil {
return err