UIRP-Data/database_backups/backup_uirp_legacy_20250405_232358.sql

401 lines
14 KiB
SQL

-- MySQL dump 10.13 Distrib 8.0.41, for Linux (x86_64)
--
-- Host: 157.90.252.24 Database: uirp_legacy
-- ------------------------------------------------------
-- Server version 8.0.41-0ubuntu0.24.04.1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `apartments`
--
DROP TABLE IF EXISTS `apartments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `apartments` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
`label` varchar(255) DEFAULT NULL,
`citizenid` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `citizenid` (`citizenid`),
KEY `name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=4144 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `apartments`
--
LOCK TABLES `apartments` WRITE;
/*!40000 ALTER TABLE `apartments` DISABLE KEYS */;
/*!40000 ALTER TABLE `apartments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `bans`
--
DROP TABLE IF EXISTS `bans`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `bans` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
`license` varchar(50) DEFAULT NULL,
`discord` varchar(50) DEFAULT NULL,
`ip` varchar(50) DEFAULT NULL,
`reason` text,
`expire` int DEFAULT NULL,
`bannedby` varchar(255) NOT NULL DEFAULT 'LeBanhammer',
PRIMARY KEY (`id`),
KEY `license` (`license`),
KEY `discord` (`discord`),
KEY `ip` (`ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `bans`
--
LOCK TABLES `bans` WRITE;
/*!40000 ALTER TABLE `bans` DISABLE KEYS */;
/*!40000 ALTER TABLE `bans` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `crypto`
--
DROP TABLE IF EXISTS `crypto`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `crypto` (
`crypto` varchar(50) NOT NULL DEFAULT 'qbit',
`worth` int NOT NULL DEFAULT '0',
`history` text,
PRIMARY KEY (`crypto`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `crypto`
--
LOCK TABLES `crypto` WRITE;
/*!40000 ALTER TABLE `crypto` DISABLE KEYS */;
INSERT INTO `crypto` VALUES ('qbit',990,'[{\"NewWorth\":1000,\"PreviousWorth\":1000},{\"NewWorth\":990,\"PreviousWorth\":1000}]');
/*!40000 ALTER TABLE `crypto` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `dealers`
--
DROP TABLE IF EXISTS `dealers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `dealers` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT '0',
`coords` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
`time` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin,
`createdby` varchar(50) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `dealers`
--
LOCK TABLES `dealers` WRITE;
/*!40000 ALTER TABLE `dealers` DISABLE KEYS */;
/*!40000 ALTER TABLE `dealers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `houselocations`
--
DROP TABLE IF EXISTS `houselocations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `houselocations` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`label` varchar(255) DEFAULT NULL,
`coords` text,
`owned` tinyint DEFAULT NULL,
`price` int DEFAULT NULL,
`tier` tinyint DEFAULT NULL,
`garage` text,
PRIMARY KEY (`id`),
KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `houselocations`
--
LOCK TABLES `houselocations` WRITE;
/*!40000 ALTER TABLE `houselocations` DISABLE KEYS */;
/*!40000 ALTER TABLE `houselocations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `inventories`
--
DROP TABLE IF EXISTS `inventories`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `inventories` (
`id` int NOT NULL AUTO_INCREMENT,
`identifier` varchar(50) NOT NULL,
`items` longtext DEFAULT (_utf8mb4'[]'),
PRIMARY KEY (`identifier`),
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `inventories`
--
LOCK TABLES `inventories` WRITE;
/*!40000 ALTER TABLE `inventories` DISABLE KEYS */;
/*!40000 ALTER TABLE `inventories` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ox_inventory`
--
DROP TABLE IF EXISTS `ox_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ox_inventory` (
`owner` varchar(60) DEFAULT NULL,
`name` varchar(100) NOT NULL,
`data` longtext,
`lastupdated` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
UNIQUE KEY `owner` (`owner`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ox_inventory`
--
LOCK TABLES `ox_inventory` WRITE;
/*!40000 ALTER TABLE `ox_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `ox_inventory` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `player_contacts`
--
DROP TABLE IF EXISTS `player_contacts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `player_contacts` (
`id` int NOT NULL AUTO_INCREMENT,
`citizenid` varchar(50) DEFAULT NULL,
`name` varchar(50) DEFAULT NULL,
`number` varchar(50) DEFAULT NULL,
`iban` varchar(50) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `citizenid` (`citizenid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `player_contacts`
--
LOCK TABLES `player_contacts` WRITE;
/*!40000 ALTER TABLE `player_contacts` DISABLE KEYS */;
/*!40000 ALTER TABLE `player_contacts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `player_houses`
--
DROP TABLE IF EXISTS `player_houses`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `player_houses` (
`id` int NOT NULL AUTO_INCREMENT,
`house` varchar(50) NOT NULL,
`identifier` varchar(50) DEFAULT NULL,
`citizenid` varchar(50) DEFAULT NULL,
`keyholders` text,
`decorations` text,
`stash` text,
`outfit` text,
`logout` text,
PRIMARY KEY (`id`),
KEY `house` (`house`),
KEY `citizenid` (`citizenid`),
KEY `identifier` (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `player_houses`
--
LOCK TABLES `player_houses` WRITE;
/*!40000 ALTER TABLE `player_houses` DISABLE KEYS */;
/*!40000 ALTER TABLE `player_houses` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `player_outfit_codes`
--
DROP TABLE IF EXISTS `player_outfit_codes`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `player_outfit_codes` (
`id` int NOT NULL AUTO_INCREMENT,
`outfitid` int NOT NULL,
`code` varchar(50) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `FK_player_outfit_codes_player_outfits` (`outfitid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `player_outfit_codes`
--
LOCK TABLES `player_outfit_codes` WRITE;
/*!40000 ALTER TABLE `player_outfit_codes` DISABLE KEYS */;
/*!40000 ALTER TABLE `player_outfit_codes` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `player_outfits`
--
DROP TABLE IF EXISTS `player_outfits`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `player_outfits` (
`id` int NOT NULL AUTO_INCREMENT,
`citizenid` varchar(50) DEFAULT NULL,
`outfitname` varchar(50) NOT NULL DEFAULT '0',
`model` varchar(50) DEFAULT NULL,
`props` varchar(1000) DEFAULT NULL,
`components` varchar(1500) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `citizenid_outfitname_model` (`citizenid`,`outfitname`,`model`),
KEY `citizenid` (`citizenid`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `player_outfits`
--
LOCK TABLES `player_outfits` WRITE;
/*!40000 ALTER TABLE `player_outfits` DISABLE KEYS */;
/*!40000 ALTER TABLE `player_outfits` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `players`
--
DROP TABLE IF EXISTS `players`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `players` (
`id` int NOT NULL AUTO_INCREMENT,
`citizenid` varchar(50) NOT NULL,
`cid` int DEFAULT NULL,
`license` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`money` text NOT NULL,
`charinfo` text,
`job` text NOT NULL,
`gang` text,
`position` text NOT NULL,
`metadata` text NOT NULL,
`inventory` longtext,
`last_updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`selected_vehicle` int DEFAULT NULL,
`selected_animation` int DEFAULT NULL,
PRIMARY KEY (`citizenid`),
KEY `id` (`id`),
KEY `last_updated` (`last_updated`),
KEY `license` (`license`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `players`
--
LOCK TABLES `players` WRITE;
/*!40000 ALTER TABLE `players` DISABLE KEYS */;
INSERT INTO `players` VALUES (3,'KUM11399',2,'license:7b8f7bc668c9006616d7cb66d081d22ca2fc6f17','androxa','{\"cash\":500,\"crypto\":0,\"bank\":5000}','{\"nationality\":\"rus\",\"birthdate\":\"2005-05-05\",\"gender\":1,\"firstname\":\"Marsha\",\"phone\":\"8776622542\",\"account\":\"US01QBCore2455521859\",\"lastname\":\"Natasha\",\"cid\":\"2\"}','{\"payment\":10,\"label\":\"Civilian\",\"name\":\"unemployed\",\"onduty\":false,\"type\":\"none\",\"grade\":{\"name\":\"Freelancer\",\"level\":0},\"isboss\":false}','{\"name\":\"none\",\"label\":\"No Gang Affiliation\",\"grade\":{\"name\":\"none\",\"level\":0},\"isboss\":false}','{\"x\":-1001.116455078125,\"y\":-478.0615234375,\"z\":50.02197265625}','{\"injail\":0,\"armor\":0,\"thirst\":100,\"inlaststand\":false,\"jailitems\":[],\"phonedata\":{\"SerialNumber\":27798021,\"InstalledApps\":[]},\"tracker\":false,\"walletid\":\"QB-90077873\",\"ishandcuffed\":false,\"stress\":0,\"hunger\":100,\"callsign\":\"NO CALLSIGN\",\"criminalrecord\":{\"hasRecord\":false},\"rep\":[],\"isdead\":false,\"status\":[],\"phone\":[],\"bloodtype\":\"B-\",\"fingerprint\":\"sR496k78vuu1601\",\"licences\":{\"driver\":true,\"business\":false,\"weapon\":false},\"inside\":{\"apartment\":[]}}',NULL,'2025-04-05 23:05:09',NULL,NULL),(1,'TQY35105',1,'license:7b8f7bc668c9006616d7cb66d081d22ca2fc6f17','androxa','{\"cash\":500,\"crypto\":0,\"bank\":5000}','{\"nationality\":\"Bulgarian\",\"birthdate\":\"2002-05-05\",\"gender\":0,\"firstname\":\"Artem\",\"phone\":\"5157878055\",\"account\":\"US02QBCore1365119195\",\"lastname\":\"Medvedev\",\"cid\":\"1\"}','{\"payment\":10,\"label\":\"Civilian\",\"name\":\"unemployed\",\"onduty\":false,\"type\":\"none\",\"grade\":{\"name\":\"Freelancer\",\"level\":0},\"isboss\":false}','{\"name\":\"none\",\"label\":\"No Gang Affiliation\",\"grade\":{\"name\":\"none\",\"level\":0},\"isboss\":false}','{\"x\":-1001.116455078125,\"y\":-478.0615234375,\"z\":50.02197265625}','{\"injail\":0,\"armor\":0,\"thirst\":100,\"inlaststand\":false,\"jailitems\":[],\"phonedata\":{\"SerialNumber\":49730183,\"InstalledApps\":[]},\"tracker\":false,\"walletid\":\"QB-27908164\",\"ishandcuffed\":false,\"stress\":0,\"hunger\":100,\"callsign\":\"NO CALLSIGN\",\"criminalrecord\":{\"hasRecord\":false},\"rep\":[],\"isdead\":false,\"status\":[],\"phone\":[],\"bloodtype\":\"AB+\",\"fingerprint\":\"ps116O03exY9248\",\"licences\":{\"driver\":true,\"business\":false,\"weapon\":false},\"inside\":{\"apartment\":[]}}',NULL,'2025-04-05 22:58:06',NULL,NULL);
/*!40000 ALTER TABLE `players` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `playerskins`
--
DROP TABLE IF EXISTS `playerskins`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `playerskins` (
`id` int NOT NULL AUTO_INCREMENT,
`citizenid` varchar(255) NOT NULL,
`model` varchar(255) NOT NULL,
`skin` text NOT NULL,
`active` tinyint NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
KEY `citizenid` (`citizenid`),
KEY `active` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `playerskins`
--
LOCK TABLES `playerskins` WRITE;
/*!40000 ALTER TABLE `playerskins` DISABLE KEYS */;
/*!40000 ALTER TABLE `playerskins` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2025-04-05 23:23:58