- Timestamp:
- Sep 14, 2020, 12:22:36 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SQL/Upgrade.txt
r21 r41 15 15 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; 16 16 17 -- 41 18 19 CREATE TABLE `Year` ( 20 `Id` int(11) NOT NULL, 21 `Year` int(11) NOT NULL, 22 `MoneyKm` int(11) NOT NULL, 23 `LapLength` DECIMAL(10,1) NOT NULL 24 ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 25 26 ALTER TABLE `Year` ADD PRIMARY KEY (`Id`); 27 28 ALTER TABLE `Year` 29 MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT; 30 COMMIT; 31 32 INSERT INTO `Year` (`Id`, `Year`, `MoneyKm`, `LapLength`) VALUES 33 (1, 2018, 30, '1.5'), 34 (2, 2019, 30, '1.5'), 35 (3, 2020, 10, '0.0');
Note:
See TracChangeset
for help on using the changeset viewer.