π¦Installation
How to install and setup
Step 1 - Place resource in [qb] folder
Step 2 - SQL
CREATE TABLE IF NOT EXISTS `pos` (
`id` int(11) NOT NULL,
`businessName` varchar(50) DEFAULT NULL,
`categories` text DEFAULT NULL,
`products` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `pos`
ADD PRIMARY KEY (`id`);
ALTER TABLE `pos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
INSERT INTO `pos` (`id`, `businessName`, `categories`, `products`) VALUES
(1, 'Example', '[\"Example1\", \"Example2\"]', '[{\"id\": 1, \"name\": \"Cool Item\", \"category\": \"Example1\", \"price\": 10, \"icon\": \"cool-item\"},\n{\"id\": 2, \"name\": \"Nice Item\", \"category\": \"Example2\", \"price\": 10, \"icon\": \"nice-item\"}]');Step 3 - Setup Business
Last updated