diff --git a/database_upgrades/upgrade_cathrine_to_danielle.sql b/database_upgrades/upgrade_cathrine_to_danielle.sql index c221633..840cf61 100644 --- a/database_upgrades/upgrade_cathrine_to_danielle.sql +++ b/database_upgrades/upgrade_cathrine_to_danielle.sql @@ -19,7 +19,7 @@ CREATE TABLE IF NOT EXISTS `vehicles_consumables` ( ALTER TABLE `pitstop` ADD COLUMN `costs` decimal(5,2) DEFAULT NULL; -ALTER TABLE `pitstop` CHANGE `litres` `amount`; +ALTER TABLE `pitstop` CHANGE `litres` `amount` decimal(5,2) DEFAULT NULL; ALTER TABLE `pitstop` ADD COLUMN `consumable_id` int(11); ALTER TABLE `pitstop` ADD FOREIGN KEY (`consumable_id`) REFERENCES `consumable` (`id`);