feat: vehicle metadata

This commit is contained in:
Andyyy7666
2023-10-29 11:20:33 +01:00
parent 8aee90a10f
commit cebe404d42
2 changed files with 16 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ CREATE TABLE IF NOT EXISTS `nd_vehicles` (
`stored` INT(11) DEFAULT '1',
`impounded` INT(11) DEFAULT '0',
`stolen` INT(11) DEFAULT '0',
`metadata` LONGTEXT DEFAULT '[]',
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