- Timestamp:
- Sep 5, 2019, 9:47:21 AM (5 years ago)
- Location:
- trunk/SQL
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SQL/Structure.sql
r12 r15 4 4 -- 5 5 -- Host: localhost:3306 6 -- Generation Time: Aug 29, 2019 at 12:02 AM6 -- Generation Time: Sep 05, 2019 at 09:42 AM 7 7 -- Server version: 10.3.17-MariaDB-0ubuntu0.19.04.1 8 8 -- PHP Version: 7.2.19-0ubuntu0.19.04.2 … … 20 20 -- Database: `teribear` 21 21 -- 22 CREATE DATABASE IF NOT EXISTS `teribear` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; 23 USE `teribear`; 22 23 -- -------------------------------------------------------- 24 25 -- 26 -- Table structure for table `Import` 27 -- 28 29 CREATE TABLE `Import` ( 30 `Id` int(11) NOT NULL, 31 `Time` datetime NOT NULL, 32 `Hash` varchar(255) NOT NULL, 33 `ItemCount` int(11) NOT NULL 34 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; 24 35 25 36 -- -------------------------------------------------------- … … 34 45 `Gender` int(11) NOT NULL, 35 46 `Team` int(11) DEFAULT NULL, 36 `ChipNumber` int(11) NOT NULL 47 `ChipNumber` int(11) NOT NULL, 48 `Year` int(11) NOT NULL 37 49 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; 38 50 … … 62 74 `Name` varchar(255) NOT NULL, 63 75 `WebId` int(11) NOT NULL, 64 `IsFamily` int(11) NOT NULL 76 `IsFamily` int(11) NOT NULL, 77 `Year` int(11) NOT NULL 65 78 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; 66 79 … … 83 96 -- Indexes for dumped tables 84 97 -- 98 99 -- 100 -- Indexes for table `Import` 101 -- 102 ALTER TABLE `Import` 103 ADD PRIMARY KEY (`Id`); 85 104 86 105 -- … … 116 135 117 136 -- 137 -- AUTO_INCREMENT for table `Import` 138 -- 139 ALTER TABLE `Import` 140 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; 141 -- 118 142 -- AUTO_INCREMENT for table `Runner` 119 143 -- 120 144 ALTER TABLE `Runner` 121 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT= 18158;145 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31205; 122 146 -- 123 147 -- AUTO_INCREMENT for table `RunnerStat` 124 148 -- 125 149 ALTER TABLE `RunnerStat` 126 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT= 136448;150 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=250219; 127 151 -- 128 152 -- AUTO_INCREMENT for table `Team` … … 134 158 -- 135 159 ALTER TABLE `TeamStat` 136 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT= 4088;160 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55625; 137 161 -- 138 162 -- Constraints for dumped tables
Note:
See TracChangeset
for help on using the changeset viewer.