Skip to content

Commit

Permalink
Add sql file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobius1 committed Nov 8, 2023
1 parent 4ee0e3b commit e8fb66d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


## Install
* Import `spycams.sql` in to your database
* Drag `ms-spycams` into your `resources` directory
* Add `ensure ms-spycams` to your `server.cfg` AFTER `qb-core`
* The inventory images and items list are in the `INVENTORY` directory
Expand Down
37 changes: 37 additions & 0 deletions spycams.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
--
-- Table structure for table `spycams`
--

CREATE TABLE `spycams` (
`id` int(11) NOT NULL,
`citizenid` varchar(50) DEFAULT NULL,
`uuid` varchar(36) NOT NULL,
`coords` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`rotation` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `spycams`
--
ALTER TABLE `spycams`
ADD PRIMARY KEY (`id`),
ADD KEY `citizenid` (`citizenid`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `spycams`
--
ALTER TABLE `spycams`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

0 comments on commit e8fb66d

Please sign in to comment.