-- MySQL dump 10.13 Distrib 8.0.30, for Linux (x86_64) -- -- Host: localhost Database: capital -- ------------------------------------------------------ -- Server version 8.0.30-0ubuntu0.20.04.2 /*!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 `capital_acc` -- DROP TABLE IF EXISTS `capital_acc`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `capital_acc` ( `id` char(36) NOT NULL, `value` bigint NOT NULL, `touch` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `touch` (`touch`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `capital_acc` -- LOCK TABLES `capital_acc` WRITE; /*!40000 ALTER TABLE `capital_acc` DISABLE KEYS */; INSERT INTO `capital_acc` VALUES ('27e12b19-6d27-4cec-b591-0839e0522439',-2,'2022-10-24 15:06:21'),('bb8680cf-9717-4376-91c0-29594a2fb261',101,'2022-10-24 15:06:43'),('d87c8767-ae46-4df3-aa7d-5a86f6e583db',101,'2022-10-24 15:06:46'); /*!40000 ALTER TABLE `capital_acc` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `capital_acc_label` -- DROP TABLE IF EXISTS `capital_acc_label`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `capital_acc_label` ( `id` char(36) NOT NULL, `name` varchar(255) NOT NULL, `value` varchar(255) NOT NULL, PRIMARY KEY (`id`,`name`), KEY `name` (`name`,`value`), CONSTRAINT `capital_acc_label_ibfk_1` FOREIGN KEY (`id`) REFERENCES `capital_acc` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `capital_acc_label` -- LOCK TABLES `capital_acc_label` WRITE; /*!40000 ALTER TABLE `capital_acc_label` DISABLE KEYS */; INSERT INTO `capital_acc_label` VALUES ('bb8680cf-9717-4376-91c0-29594a2fb261','capital/coreValueMax','100000000'),('d87c8767-ae46-4df3-aa7d-5a86f6e583db','capital/coreValueMax','100000000'),('bb8680cf-9717-4376-91c0-29594a2fb261','capital/coreValueMin','0'),('d87c8767-ae46-4df3-aa7d-5a86f6e583db','capital/coreValueMin','0'),('bb8680cf-9717-4376-91c0-29594a2fb261','capital/currency','money'),('d87c8767-ae46-4df3-aa7d-5a86f6e583db','capital/currency','money2'),('27e12b19-6d27-4cec-b591-0839e0522439','capital/oracle','capital/transfer'),('bb8680cf-9717-4376-91c0-29594a2fb261','capital/playerName','nerahikada'),('d87c8767-ae46-4df3-aa7d-5a86f6e583db','capital/playerName','nerahikada'),('bb8680cf-9717-4376-91c0-29594a2fb261','capital/playerUuid','5d80a4e4-5f6f-37dc-a180-7d9b4755dbe1'),('d87c8767-ae46-4df3-aa7d-5a86f6e583db','capital/playerUuid','5d80a4e4-5f6f-37dc-a180-7d9b4755dbe1'); /*!40000 ALTER TABLE `capital_acc_label` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `capital_analytics_top_cache` -- DROP TABLE IF EXISTS `capital_analytics_top_cache`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `capital_analytics_top_cache` ( `query` char(32) NOT NULL, `group_value` varchar(255) NOT NULL, `metric` double DEFAULT NULL, `last_updated` timestamp NOT NULL, `last_updated_with` char(32) NOT NULL, PRIMARY KEY (`query`,`group_value`), KEY `query` (`query`,`metric`), KEY `query_2` (`query`,`last_updated`), KEY `last_updated_with` (`last_updated_with`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `capital_analytics_top_cache` -- LOCK TABLES `capital_analytics_top_cache` WRITE; /*!40000 ALTER TABLE `capital_analytics_top_cache` DISABLE KEYS */; INSERT INTO `capital_analytics_top_cache` VALUES ('54c2e6f2efb1745fe2604cb6e12eed87','5d80a4e4-5f6f-37dc-a180-7d9b4755dbe1',101,'2022-10-24 15:13:22','17cf86b902c95a8bf6c29ce68e648485'); /*!40000 ALTER TABLE `capital_analytics_top_cache` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `capital_tran` -- DROP TABLE IF EXISTS `capital_tran`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `capital_tran` ( `id` char(36) NOT NULL, `src` char(36) DEFAULT NULL, `dest` char(36) DEFAULT NULL, `value` bigint NOT NULL, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `created` (`created`), KEY `fk_src` (`src`), KEY `fk_dest` (`dest`), CONSTRAINT `capital_tran_ibfk_1` FOREIGN KEY (`src`) REFERENCES `capital_acc` (`id`) ON DELETE SET NULL, CONSTRAINT `capital_tran_ibfk_2` FOREIGN KEY (`dest`) REFERENCES `capital_acc` (`id`) ON DELETE SET NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `capital_tran` -- LOCK TABLES `capital_tran` WRITE; /*!40000 ALTER TABLE `capital_tran` DISABLE KEYS */; INSERT INTO `capital_tran` VALUES ('5682c750-6d7a-4a82-bb4c-13e12b90a1ee','27e12b19-6d27-4cec-b591-0839e0522439','bb8680cf-9717-4376-91c0-29594a2fb261',1,'2022-10-24 15:06:43'),('8fd9ae56-3e2e-4d4d-8a5f-59f04c3410a5','27e12b19-6d27-4cec-b591-0839e0522439','d87c8767-ae46-4df3-aa7d-5a86f6e583db',1,'2022-10-24 15:06:46'); /*!40000 ALTER TABLE `capital_tran` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `capital_tran_label` -- DROP TABLE IF EXISTS `capital_tran_label`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `capital_tran_label` ( `id` char(36) NOT NULL, `name` varchar(255) NOT NULL, `value` varchar(255) NOT NULL, PRIMARY KEY (`id`,`name`), KEY `name` (`name`,`value`), CONSTRAINT `capital_tran_label_ibfk_1` FOREIGN KEY (`id`) REFERENCES `capital_tran` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `capital_tran_label` -- LOCK TABLES `capital_tran_label` WRITE; /*!40000 ALTER TABLE `capital_tran_label` DISABLE KEYS */; INSERT INTO `capital_tran_label` VALUES ('5682c750-6d7a-4a82-bb4c-13e12b90a1ee','operator',''),('8fd9ae56-3e2e-4d4d-8a5f-59f04c3410a5','operator',''); /*!40000 ALTER TABLE `capital_tran_label` 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 2022-10-25 0:22:33