Star
Star
--
-- Dumping data for table `addon_account`
--
-- --------------------------------------------------------
--
-- Table structure for table `addon_account_data`
--
--
-- Dumping data for table `addon_account_data`
--
--
-- Table structure for table `addon_inventory`
--
--
-- Dumping data for table `addon_inventory`
--
INSERT INTO `addon_inventory` (`name`, `label`, `shared`) VALUES
('society_ambulance', 'EMS', 1),
('society_cardealer', 'Cardealer', 1),
('society_mechanic', 'Mechanic', 1),
('society_police', 'Police', 1),
('society_taxi', 'Taxi', 1);
-- --------------------------------------------------------
--
-- Table structure for table `addon_inventory_items`
--
-- --------------------------------------------------------
--
-- Table structure for table `billing`
--
-- --------------------------------------------------------
--
-- Table structure for table `cardealer_vehicles`
--
-- --------------------------------------------------------
--
-- Table structure for table `multicharacter_slots`
--
-- --------------------------------------------------------
--
-- Table structure for table `datastore`
--
--
-- Dumping data for table `datastore`
--
-- --------------------------------------------------------
--
-- Table structure for table `datastore_data`
--
--
-- Dumping data for table `datastore_data`
--
-- --------------------------------------------------------
--
-- Table structure for table `items`
--
--
-- Dumping data for table `items`
--
-- --------------------------------------------------------
--
-- Table structure for table `jobs`
--
--
-- Dumping data for table `jobs`
--
-- --------------------------------------------------------
--
-- Table structure for table `job_grades`
--
--
-- Dumping data for table `job_grades`
--
-- --------------------------------------------------------
--
-- Table structure for table `licenses`
--
--
-- Dumping data for table `licenses`
--
-- --------------------------------------------------------
--
-- Table structure for table `owned_vehicles`
--
--
-- Table structure for table `rented_vehicles`
--
--
-- Table structure for table `society_moneywash`
--
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
--
-- Table structure for table `user_licenses`
--
--
-- Table structure for table `vehicles`
--
--
-- Dumping data for table `vehicles`
--
-- --------------------------------------------------------
--
-- Table structure for table `vehicle_categories`
--
--
-- Dumping data for table `vehicle_categories`
--
-- --------------------------------------------------------
--
-- Table structure for table `vehicle_sold`
--
--
-- Table structure for table `whitelist`
--
--
-- Indexes for dumped tables
--
--
-- Indexes for table `addon_account`
--
ALTER TABLE `addon_account`
ADD PRIMARY KEY (`name`);
--
-- Indexes for table `addon_account_data`
--
ALTER TABLE `addon_account_data`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `index_addon_account_data_account_name_owner`
(`account_name`,`owner`),
ADD KEY `index_addon_account_data_account_name` (`account_name`);
--
-- Indexes for table `addon_inventory`
--
ALTER TABLE `addon_inventory`
ADD PRIMARY KEY (`name`);
--
-- Indexes for table `addon_inventory_items`
--
ALTER TABLE `addon_inventory_items`
ADD PRIMARY KEY (`id`),
ADD KEY `index_addon_inventory_items_inventory_name_name`
(`inventory_name`,`name`),
ADD KEY `index_addon_inventory_items_inventory_name_name_owner`
(`inventory_name`,`name`,`owner`),
ADD KEY `index_addon_inventory_inventory_name` (`inventory_name`);
--
-- Indexes for table `billing`
--
ALTER TABLE `billing`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `cardealer_vehicles`
--
ALTER TABLE `cardealer_vehicles`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `datastore`
--
ALTER TABLE `datastore`
ADD PRIMARY KEY (`name`);
--
-- Indexes for table `datastore_data`
--
ALTER TABLE `datastore_data`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `index_datastore_data_name_owner` (`name`,`owner`),
ADD KEY `index_datastore_data_name` (`name`);
--
-- Indexes for table `items`
--
ALTER TABLE `items`
ADD PRIMARY KEY (`name`);
--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
ADD PRIMARY KEY (`name`);
--
-- Indexes for table `job_grades`
--
ALTER TABLE `job_grades`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `licenses`
--
ALTER TABLE `licenses`
ADD PRIMARY KEY (`type`);
--
--
-- Indexes for table `owned_vehicles`
--
ALTER TABLE `owned_vehicles`
ADD PRIMARY KEY (`plate`);
--
-- Indexes for table `rented_vehicles`
--
ALTER TABLE `rented_vehicles`
ADD PRIMARY KEY (`plate`);
--
-- Indexes for table `society_moneywash`
--
ALTER TABLE `society_moneywash`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`identifier`),
ADD UNIQUE KEY `id` (`id`);
--
-- Indexes for table `user_licenses`
--
ALTER TABLE `user_licenses`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `vehicle_categories`
--
ALTER TABLE `vehicle_categories`
ADD PRIMARY KEY (`name`);
--
-- Indexes for table `whitelist`
--
ALTER TABLE `whitelist`
ADD PRIMARY KEY (`identifier`);
--
-- AUTO_INCREMENT for table `addon_account_data`
--
ALTER TABLE `addon_account_data`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `addon_inventory_items`
--
ALTER TABLE `addon_inventory_items`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `billing`
--
ALTER TABLE `billing`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `cardealer_vehicles`
--
ALTER TABLE `cardealer_vehicles`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `datastore_data`
--
ALTER TABLE `datastore_data`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `job_grades`
--
ALTER TABLE `job_grades`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `user_licenses`
--
ALTER TABLE `user_licenses`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- Fine Types
--
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
--
-- ESX Bankerjob
--
--
-- ESX Banking
--