Add SQL file

This commit is contained in:
Jérémie N'gadi
2017-08-01 12:08:42 +02:00
parent 65f67f4e0f
commit e93392f283
2 changed files with 18 additions and 1 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ ESX AddonInventory
```
git clone https://github.com/FXServer-ESX/fxserver-esx_addoninventory esx_addoninventory
```
3) Add this in your server.cfg :
3) Import esx_addoninventory.sql in your database
1) Add this in your server.cfg :
```
start esx_addoninventory
+16
View File
@@ -0,0 +1,16 @@
CREATE TABLE `addon_inventory` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`label` varchar(255) NOT NULL,
`shared` int(11) NOT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `addon_inventory_items` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`inventory_name` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`count` int(11) NOT NULL,
`owner` varchar(60) DEFAULT NULL,
PRIMARY KEY (`id`)
);