refactor(database/vehicles): vehicle availability

This commit is contained in:
Andyyy7666
2023-09-26 03:16:02 +02:00
parent 47b952be1d
commit 0848480753

View File

@@ -5,7 +5,9 @@ CREATE TABLE IF NOT EXISTS `nd_vehicles` (
`glovebox` LONGTEXT DEFAULT '[]',
`trunk` LONGTEXT DEFAULT '[]',
`properties` LONGTEXT DEFAULT '[]',
`stored` INT(11) DEFAULT NULL,
`stored` INT(11) DEFAULT '1',
`impounded` INT(11) DEFAULT '0',
`stolen` INT(11) DEFAULT '0',
PRIMARY KEY (`id`) USING BTREE,
INDEX `owner` (`owner`) USING BTREE,
CONSTRAINT `vehowner` FOREIGN KEY (`owner`) REFERENCES `nd_characters` (`charid`) ON UPDATE CASCADE ON DELETE CASCADE