392 lines
14 KiB
SQL
392 lines
14 KiB
SQL
-- MariaDB dump 10.19 Distrib 10.5.12-MariaDB, for Linux (x86_64)
|
|
--
|
|
-- Host: db.ipa.champion Database: hockeyResults2020
|
|
-- ------------------------------------------------------
|
|
-- Server version 10.5.8-MariaDB
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8mb4 */;
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
--
|
|
-- Table structure for table `_HKFC_players`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_HKFC_players`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_HKFC_players` (
|
|
`playerTeam` varchar(6) NOT NULL,
|
|
`playerForenames` varchar(50) NOT NULL,
|
|
`playerSurname` varchar(30) NOT NULL,
|
|
`playerChineseName` varchar(10) DEFAULT NULL,
|
|
`playerEmail` varchar(255) NOT NULL,
|
|
`playerDob` date NOT NULL,
|
|
`playerHkid` varchar(20) NOT NULL,
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerTelNumber` varchar(30) NOT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
`playerPictureURL` varchar(255) NOT NULL DEFAULT 'not set',
|
|
PRIMARY KEY (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_clubTeams`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_clubTeams`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_clubTeams` (
|
|
`club` varchar(50) DEFAULT NULL,
|
|
`displayName` varchar(50) DEFAULT NULL,
|
|
`team` varchar(5) DEFAULT NULL,
|
|
`league` varchar(4) DEFAULT NULL,
|
|
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_1`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_1`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_1` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_118`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_118`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_118` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_50`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_50`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_50` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_607`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_607`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_607` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_652`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_652`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_652` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_664`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_664`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_664` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_7`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_7`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_7` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_715`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_715`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_715` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_85`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_85`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_85` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfcD_matchSquad_prev`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfcD_matchSquad_prev`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfcD_matchSquad_prev` (
|
|
`playerNumber` smallint(6) NOT NULL,
|
|
`playerForenames` varchar(50) DEFAULT NULL,
|
|
`playerSurname` varchar(30) DEFAULT NULL,
|
|
`playerNickname` varchar(30) NOT NULL,
|
|
PRIMARY KEY (`playerNumber`),
|
|
UNIQUE KEY `playerNumber` (`playerNumber`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_hkfc_d_motm`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_hkfc_d_motm`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_hkfc_d_motm` (
|
|
`playerNumber` smallint(6) DEFAULT NULL,
|
|
`playerName` varchar(50) NOT NULL,
|
|
`motmTotal` smallint(6) NOT NULL DEFAULT 0,
|
|
`dotdTotal` smallint(6) NOT NULL DEFAULT 0,
|
|
`goalsTotal` smallint(6) DEFAULT 0,
|
|
`assistsTotal` smallint(6) DEFAULT 0,
|
|
`motm_7` smallint(6) DEFAULT 0,
|
|
`dotd_7` smallint(6) DEFAULT 0,
|
|
`assists_7` smallint(6) DEFAULT 0,
|
|
`goals_7` smallint(6) DEFAULT 0,
|
|
`motm_50` smallint(6) DEFAULT 0,
|
|
`dotd_50` smallint(6) DEFAULT 0,
|
|
`assists_50` smallint(6) DEFAULT 0,
|
|
`goals_50` smallint(6) DEFAULT 0,
|
|
`motm_85` smallint(6) DEFAULT 0,
|
|
`dotd_85` smallint(6) DEFAULT 0,
|
|
`assists_85` smallint(6) DEFAULT 0,
|
|
`goals_85` smallint(6) DEFAULT 0,
|
|
`motm_118` smallint(6) DEFAULT 0,
|
|
`dotd_118` smallint(6) DEFAULT 0,
|
|
`assists_118` smallint(6) DEFAULT 0,
|
|
`goals_118` smallint(6) DEFAULT 0,
|
|
`motm_509` smallint(6) DEFAULT 0,
|
|
`dotd_509` smallint(6) DEFAULT 0,
|
|
`assists_509` smallint(6) DEFAULT 0,
|
|
`goals_509` smallint(6) DEFAULT 0,
|
|
`motm_607` smallint(6) DEFAULT 0,
|
|
`dotd_607` smallint(6) DEFAULT 0,
|
|
`assists_607` smallint(6) DEFAULT 0,
|
|
`goals_607` smallint(6) DEFAULT 0,
|
|
`motm_652` smallint(6) DEFAULT 0,
|
|
`dotd_652` smallint(6) DEFAULT 0,
|
|
`assists_652` smallint(6) DEFAULT 0,
|
|
`goals_652` smallint(6) DEFAULT 0,
|
|
`motm_664` smallint(6) DEFAULT 0,
|
|
`dotd_664` smallint(6) DEFAULT 0,
|
|
`assists_664` smallint(6) DEFAULT 0,
|
|
`goals_664` smallint(6) DEFAULT 0,
|
|
`motm_715` smallint(6) DEFAULT 0,
|
|
`dotd_715` smallint(6) DEFAULT 0,
|
|
`assists_715` smallint(6) DEFAULT 0,
|
|
`goals_715` smallint(6) DEFAULT 0,
|
|
`motm_571` smallint(6) DEFAULT 0,
|
|
`dotd_571` smallint(6) DEFAULT 0,
|
|
`assists_571` smallint(6) DEFAULT 0,
|
|
`goals_571` smallint(6) DEFAULT 0,
|
|
PRIMARY KEY (`playerName`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `_motmComments`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `_motmComments`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `_motmComments` (
|
|
`matchDate` date DEFAULT NULL,
|
|
`opposition` varchar(30) NOT NULL,
|
|
`comment` varchar(3000) NOT NULL,
|
|
`id` smallint(6) NOT NULL AUTO_INCREMENT,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `hockeyFixtures`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `hockeyFixtures`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `hockeyFixtures` (
|
|
`date` date DEFAULT NULL,
|
|
`division` varchar(128) DEFAULT NULL,
|
|
`homeTeam` varchar(128) DEFAULT NULL,
|
|
`awayTeam` varchar(128) DEFAULT NULL,
|
|
`venue` varchar(32) DEFAULT NULL,
|
|
`time` time DEFAULT NULL,
|
|
`umpire1` varchar(128) DEFAULT NULL,
|
|
`umpire2` varchar(128) DEFAULT NULL,
|
|
`fixtureNumber` smallint(6) NOT NULL AUTO_INCREMENT,
|
|
PRIMARY KEY (`fixtureNumber`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=717 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `hockeyFixturesOld`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `hockeyFixturesOld`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `hockeyFixturesOld` (
|
|
`date` date DEFAULT NULL,
|
|
`division` varchar(128) DEFAULT NULL,
|
|
`homeTeam` varchar(128) DEFAULT NULL,
|
|
`awayTeam` varchar(128) DEFAULT NULL,
|
|
`venue` varchar(32) DEFAULT NULL,
|
|
`time` time DEFAULT NULL,
|
|
`umpire1` varchar(128) DEFAULT NULL,
|
|
`umpire2` varchar(128) DEFAULT NULL,
|
|
`fixtureNumber` smallint(6) NOT NULL AUTO_INCREMENT,
|
|
PRIMARY KEY (`fixtureNumber`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=443 DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Table structure for table `motmSessions`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `motmSessions`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `motmSessions` (
|
|
`sessionNumber` int(11) NOT NULL AUTO_INCREMENT,
|
|
`sessionID` varchar(16) DEFAULT NULL,
|
|
`motm_85` smallint(6) DEFAULT NULL,
|
|
`dotd_85` smallint(6) DEFAULT NULL,
|
|
`userAgent` varchar(256) DEFAULT NULL,
|
|
`motm_118` smallint(6) DEFAULT NULL,
|
|
`dotd_118` smallint(6) DEFAULT NULL,
|
|
`motm_509` smallint(6) DEFAULT NULL,
|
|
`dotd_509` smallint(6) DEFAULT NULL,
|
|
PRIMARY KEY (`sessionNumber`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
-- Dump completed on 2021-09-11 15:00:26
|