https://docs.qbcore.org/qbcore-documentation/qbcore-resources/qb-inventory
[qb]
directory.qb-inventory.sql
in your databaseinventory.sql
file to create the new inventories
tablemigrate.sql
file to migrate all of your saved inventory data from stashes, trunks, etcgloveboxitems
stashitems
and trunkitems
tables from your databaseCREATE TABLE IF NOT EXISTS `inventories` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`identifier` VARCHAR(50) NOT NULL,
`items` LONGTEXT DEFAULT ('[]'),
PRIMARY KEY (`identifier`),
KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
QBCore Framework
Copyright (C) 2021 Joshua Eger
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>