3755 lines
168 KiB
SQL
3755 lines
168 KiB
SQL
-- MySQL dump 10.13 Distrib 8.4.5, for Linux (x86_64)
|
|
--
|
|
-- Host: localhost Database: gitea
|
|
-- ------------------------------------------------------
|
|
-- Server version 8.4.5
|
|
|
|
/*!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 `access`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `access`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `access` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`mode` int DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_access_s` (`user_id`,`repo_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `access`
|
|
--
|
|
|
|
LOCK TABLES `access` WRITE;
|
|
/*!40000 ALTER TABLE `access` DISABLE KEYS */;
|
|
INSERT INTO `access` VALUES (2,5,1,2),(14,7,2,4),(15,1,2,4),(16,6,2,4),(17,5,2,4),(18,9,2,4),(20,12,2,4),(21,8,2,1),(22,1,3,4),(23,12,3,4),(24,6,3,4),(25,7,3,4),(26,9,3,4),(27,5,3,4);
|
|
/*!40000 ALTER TABLE `access` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `access_token`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `access_token`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `access_token` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uid` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`token_hash` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`token_salt` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`token_last_eight` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`scope` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_access_token_token_hash` (`token_hash`),
|
|
KEY `IDX_access_token_token_last_eight` (`token_last_eight`),
|
|
KEY `IDX_access_token_created_unix` (`created_unix`),
|
|
KEY `IDX_access_token_updated_unix` (`updated_unix`),
|
|
KEY `IDX_access_token_uid` (`uid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `access_token`
|
|
--
|
|
|
|
LOCK TABLES `access_token` WRITE;
|
|
/*!40000 ALTER TABLE `access_token` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `access_token` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`op_type` int DEFAULT NULL,
|
|
`act_user_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`comment_id` bigint DEFAULT NULL,
|
|
`is_deleted` tinyint(1) NOT NULL DEFAULT '0',
|
|
`ref_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`is_private` tinyint(1) NOT NULL DEFAULT '0',
|
|
`content` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_action_user_id` (`user_id`),
|
|
KEY `IDX_action_comment_id` (`comment_id`),
|
|
KEY `IDX_action_au_r_c_u_d` (`act_user_id`,`repo_id`,`created_unix`,`user_id`,`is_deleted`),
|
|
KEY `IDX_action_r_u_d` (`repo_id`,`user_id`,`is_deleted`),
|
|
KEY `IDX_action_c_u_d` (`created_unix`,`user_id`,`is_deleted`),
|
|
KEY `IDX_action_c_u` (`user_id`,`is_deleted`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action`
|
|
--
|
|
|
|
LOCK TABLES `action` WRITE;
|
|
/*!40000 ALTER TABLE `action` DISABLE KEYS */;
|
|
INSERT INTO `action` VALUES (1,1,1,1,1,0,0,'',0,'',1747318486),(2,1,5,1,1,0,0,'refs/heads/main',0,'',1747318807),(3,1,5,1,1,0,0,'refs/heads/main',0,'{\"Commits\":[{\"Sha1\":\"223253ad6a5751c37a72eb73c4faf49073d19579\",\"Message\":\"test\\n\",\"AuthorEmail\":\"eumir@sdsolutions.com.ph\",\"AuthorName\":\"Eumir Santiago\",\"CommitterEmail\":\"eumir@sdsolutions.com.ph\",\"CommitterName\":\"Eumir Santiago\",\"Timestamp\":\"2025-05-15T22:17:58+08:00\"}],\"HeadCommit\":{\"Sha1\":\"223253ad6a5751c37a72eb73c4faf49073d19579\",\"Message\":\"test\\n\",\"AuthorEmail\":\"eumir@sdsolutions.com.ph\",\"AuthorName\":\"Eumir Santiago\",\"CommitterEmail\":\"eumir@sdsolutions.com.ph\",\"CommitterName\":\"Eumir Santiago\",\"Timestamp\":\"2025-05-15T22:17:58+08:00\"},\"CompareURL\":\"\",\"Len\":1}',1747318807),(4,7,8,7,2,0,0,'',1,'resian/property-management',1752639161),(5,2,8,7,2,0,0,'',1,'resian/property-management',1752639161),(6,1,8,7,2,0,0,'',1,'resian/property-management',1752639161),(7,5,8,7,2,0,0,'',1,'resian/property-management',1752639161),(8,1,1,1,3,0,0,'',0,'',1753210988),(9,2,1,1,3,0,0,'',0,'',1753210988),(10,5,1,1,3,0,0,'',0,'',1753210988),(11,9,1,1,3,0,0,'',0,'',1753210988),(12,6,1,1,3,0,0,'',0,'',1753210988),(13,7,1,1,3,0,0,'',0,'',1753210988),(14,12,1,1,3,0,0,'',0,'',1753210988);
|
|
/*!40000 ALTER TABLE `action` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_artifact`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_artifact`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_artifact` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`run_id` bigint DEFAULT NULL,
|
|
`runner_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`commit_sha` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`storage_path` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`file_size` bigint DEFAULT NULL,
|
|
`file_compressed_size` bigint DEFAULT NULL,
|
|
`content_encoding` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`artifact_path` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`artifact_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`status` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`expired_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_artifact_runid_name_path` (`run_id`,`artifact_path`,`artifact_name`),
|
|
KEY `IDX_action_artifact_artifact_path` (`artifact_path`),
|
|
KEY `IDX_action_artifact_artifact_name` (`artifact_name`),
|
|
KEY `IDX_action_artifact_status` (`status`),
|
|
KEY `IDX_action_artifact_updated_unix` (`updated_unix`),
|
|
KEY `IDX_action_artifact_expired_unix` (`expired_unix`),
|
|
KEY `IDX_action_artifact_run_id` (`run_id`),
|
|
KEY `IDX_action_artifact_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_artifact`
|
|
--
|
|
|
|
LOCK TABLES `action_artifact` WRITE;
|
|
/*!40000 ALTER TABLE `action_artifact` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_artifact` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_run`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_run`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_run` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`title` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`workflow_id` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`index` bigint DEFAULT NULL,
|
|
`trigger_user_id` bigint DEFAULT NULL,
|
|
`schedule_id` bigint DEFAULT NULL,
|
|
`ref` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`commit_sha` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`is_fork_pull_request` tinyint(1) DEFAULT NULL,
|
|
`need_approval` tinyint(1) DEFAULT NULL,
|
|
`approved_by` bigint DEFAULT NULL,
|
|
`event` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`event_payload` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`trigger_event` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`status` int DEFAULT NULL,
|
|
`version` int DEFAULT '0',
|
|
`started` bigint DEFAULT NULL,
|
|
`stopped` bigint DEFAULT NULL,
|
|
`previous_duration` bigint DEFAULT NULL,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_run_repo_index` (`repo_id`,`index`),
|
|
KEY `IDX_action_run_repo_id` (`repo_id`),
|
|
KEY `IDX_action_run_status` (`status`),
|
|
KEY `IDX_action_run_approved_by` (`approved_by`),
|
|
KEY `IDX_action_run_owner_id` (`owner_id`),
|
|
KEY `IDX_action_run_workflow_id` (`workflow_id`),
|
|
KEY `IDX_action_run_index` (`index`),
|
|
KEY `IDX_action_run_trigger_user_id` (`trigger_user_id`),
|
|
KEY `IDX_action_run_ref` (`ref`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_run`
|
|
--
|
|
|
|
LOCK TABLES `action_run` WRITE;
|
|
/*!40000 ALTER TABLE `action_run` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_run` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_run_index`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_run_index`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_run_index` (
|
|
`group_id` bigint NOT NULL,
|
|
`max_index` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`group_id`),
|
|
KEY `IDX_action_run_index_max_index` (`max_index`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_run_index`
|
|
--
|
|
|
|
LOCK TABLES `action_run_index` WRITE;
|
|
/*!40000 ALTER TABLE `action_run_index` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_run_index` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_run_job`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_run_job`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_run_job` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`run_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`commit_sha` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`is_fork_pull_request` tinyint(1) DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`attempt` bigint DEFAULT NULL,
|
|
`workflow_payload` blob,
|
|
`job_id` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`needs` text COLLATE utf8mb4_0900_as_cs,
|
|
`runs_on` text COLLATE utf8mb4_0900_as_cs,
|
|
`task_id` bigint DEFAULT NULL,
|
|
`status` int DEFAULT NULL,
|
|
`started` bigint DEFAULT NULL,
|
|
`stopped` bigint DEFAULT NULL,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_action_run_job_updated` (`updated`),
|
|
KEY `IDX_action_run_job_run_id` (`run_id`),
|
|
KEY `IDX_action_run_job_repo_id` (`repo_id`),
|
|
KEY `IDX_action_run_job_owner_id` (`owner_id`),
|
|
KEY `IDX_action_run_job_commit_sha` (`commit_sha`),
|
|
KEY `IDX_action_run_job_status` (`status`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_run_job`
|
|
--
|
|
|
|
LOCK TABLES `action_run_job` WRITE;
|
|
/*!40000 ALTER TABLE `action_run_job` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_run_job` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_runner`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_runner`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_runner` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uuid` char(36) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`version` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`description` text COLLATE utf8mb4_0900_as_cs,
|
|
`base` int DEFAULT NULL,
|
|
`repo_range` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`token_hash` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`token_salt` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`last_online` bigint DEFAULT NULL,
|
|
`last_active` bigint DEFAULT NULL,
|
|
`agent_labels` text COLLATE utf8mb4_0900_as_cs,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
`deleted` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_runner_token_hash` (`token_hash`),
|
|
UNIQUE KEY `UQE_action_runner_uuid` (`uuid`),
|
|
KEY `IDX_action_runner_last_online` (`last_online`),
|
|
KEY `IDX_action_runner_last_active` (`last_active`),
|
|
KEY `IDX_action_runner_owner_id` (`owner_id`),
|
|
KEY `IDX_action_runner_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_runner`
|
|
--
|
|
|
|
LOCK TABLES `action_runner` WRITE;
|
|
/*!40000 ALTER TABLE `action_runner` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_runner` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_runner_token`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_runner_token`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_runner_token` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`token` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`is_active` tinyint(1) DEFAULT NULL,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
`deleted` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_runner_token_token` (`token`),
|
|
KEY `IDX_action_runner_token_owner_id` (`owner_id`),
|
|
KEY `IDX_action_runner_token_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_runner_token`
|
|
--
|
|
|
|
LOCK TABLES `action_runner_token` WRITE;
|
|
/*!40000 ALTER TABLE `action_runner_token` DISABLE KEYS */;
|
|
INSERT INTO `action_runner_token` VALUES (1,'cxGwyEGyCNX2FVZHlBIL7oUcpDwiXQsY0zzeePEl',0,0,1,1747298524,1747298524,NULL),(2,'pzznGafhrchOEwfnFezLPYMoJ8Ee3hDLscpbljL0',0,3,1,1753211763,1753211763,NULL);
|
|
/*!40000 ALTER TABLE `action_runner_token` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_schedule`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_schedule`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_schedule` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`title` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`specs` text COLLATE utf8mb4_0900_as_cs,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`workflow_id` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`trigger_user_id` bigint DEFAULT NULL,
|
|
`ref` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`commit_sha` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`event` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`event_payload` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`content` blob,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_action_schedule_repo_id` (`repo_id`),
|
|
KEY `IDX_action_schedule_owner_id` (`owner_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_schedule`
|
|
--
|
|
|
|
LOCK TABLES `action_schedule` WRITE;
|
|
/*!40000 ALTER TABLE `action_schedule` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_schedule` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_schedule_spec`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_schedule_spec`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_schedule_spec` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`schedule_id` bigint DEFAULT NULL,
|
|
`next` bigint DEFAULT NULL,
|
|
`prev` bigint DEFAULT NULL,
|
|
`spec` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_action_schedule_spec_schedule_id` (`schedule_id`),
|
|
KEY `IDX_action_schedule_spec_next` (`next`),
|
|
KEY `IDX_action_schedule_spec_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_schedule_spec`
|
|
--
|
|
|
|
LOCK TABLES `action_schedule_spec` WRITE;
|
|
/*!40000 ALTER TABLE `action_schedule_spec` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_schedule_spec` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_task`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_task`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_task` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`job_id` bigint DEFAULT NULL,
|
|
`attempt` bigint DEFAULT NULL,
|
|
`runner_id` bigint DEFAULT NULL,
|
|
`status` int DEFAULT NULL,
|
|
`started` bigint DEFAULT NULL,
|
|
`stopped` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`commit_sha` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`is_fork_pull_request` tinyint(1) DEFAULT NULL,
|
|
`token_hash` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`token_salt` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`token_last_eight` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`log_filename` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`log_in_storage` tinyint(1) DEFAULT NULL,
|
|
`log_length` bigint DEFAULT NULL,
|
|
`log_size` bigint DEFAULT NULL,
|
|
`log_indexes` longblob,
|
|
`log_expired` tinyint(1) DEFAULT NULL,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_task_token_hash` (`token_hash`),
|
|
KEY `IDX_action_task_started` (`started`),
|
|
KEY `IDX_action_task_stopped_log_expired` (`stopped`,`log_expired`),
|
|
KEY `IDX_action_task_commit_sha` (`commit_sha`),
|
|
KEY `IDX_action_task_token_last_eight` (`token_last_eight`),
|
|
KEY `IDX_action_task_updated` (`updated`),
|
|
KEY `IDX_action_task_runner_id` (`runner_id`),
|
|
KEY `IDX_action_task_status` (`status`),
|
|
KEY `IDX_action_task_repo_id` (`repo_id`),
|
|
KEY `IDX_action_task_owner_id` (`owner_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_task`
|
|
--
|
|
|
|
LOCK TABLES `action_task` WRITE;
|
|
/*!40000 ALTER TABLE `action_task` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_task` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_task_output`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_task_output`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_task_output` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`task_id` bigint DEFAULT NULL,
|
|
`output_key` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`output_value` mediumtext COLLATE utf8mb4_0900_as_cs,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_task_output_task_id_output_key` (`task_id`,`output_key`),
|
|
KEY `IDX_action_task_output_task_id` (`task_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_task_output`
|
|
--
|
|
|
|
LOCK TABLES `action_task_output` WRITE;
|
|
/*!40000 ALTER TABLE `action_task_output` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_task_output` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_task_step`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_task_step`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_task_step` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`task_id` bigint DEFAULT NULL,
|
|
`index` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`status` int DEFAULT NULL,
|
|
`log_index` bigint DEFAULT NULL,
|
|
`log_length` bigint DEFAULT NULL,
|
|
`started` bigint DEFAULT NULL,
|
|
`stopped` bigint DEFAULT NULL,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_task_step_task_index` (`task_id`,`index`),
|
|
KEY `IDX_action_task_step_index` (`index`),
|
|
KEY `IDX_action_task_step_repo_id` (`repo_id`),
|
|
KEY `IDX_action_task_step_status` (`status`),
|
|
KEY `IDX_action_task_step_task_id` (`task_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_task_step`
|
|
--
|
|
|
|
LOCK TABLES `action_task_step` WRITE;
|
|
/*!40000 ALTER TABLE `action_task_step` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_task_step` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_tasks_version`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_tasks_version`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_tasks_version` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`version` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_tasks_version_owner_repo` (`owner_id`,`repo_id`),
|
|
KEY `IDX_action_tasks_version_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_tasks_version`
|
|
--
|
|
|
|
LOCK TABLES `action_tasks_version` WRITE;
|
|
/*!40000 ALTER TABLE `action_tasks_version` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_tasks_version` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `action_variable`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `action_variable`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `action_variable` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`data` longtext COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`created_unix` bigint NOT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_action_variable_owner_repo_name` (`owner_id`,`repo_id`,`name`),
|
|
KEY `IDX_action_variable_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `action_variable`
|
|
--
|
|
|
|
LOCK TABLES `action_variable` WRITE;
|
|
/*!40000 ALTER TABLE `action_variable` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `action_variable` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `app_state`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `app_state`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `app_state` (
|
|
`id` varchar(200) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`revision` bigint DEFAULT NULL,
|
|
`content` longtext COLLATE utf8mb4_0900_as_cs,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `app_state`
|
|
--
|
|
|
|
LOCK TABLES `app_state` WRITE;
|
|
/*!40000 ALTER TABLE `app_state` DISABLE KEYS */;
|
|
INSERT INTO `app_state` VALUES ('runtime-state',0,'{\"last_app_path\":\"/usr/local/bin/gitea\",\"last_custom_conf\":\"/data/gitea/conf/app.ini\"}');
|
|
/*!40000 ALTER TABLE `app_state` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `attachment`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `attachment`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `attachment` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uuid` varchar(40) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`release_id` bigint DEFAULT NULL,
|
|
`uploader_id` bigint DEFAULT '0',
|
|
`comment_id` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`download_count` bigint DEFAULT '0',
|
|
`size` bigint DEFAULT '0',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_attachment_uuid` (`uuid`),
|
|
KEY `IDX_attachment_comment_id` (`comment_id`),
|
|
KEY `IDX_attachment_repo_id` (`repo_id`),
|
|
KEY `IDX_attachment_issue_id` (`issue_id`),
|
|
KEY `IDX_attachment_release_id` (`release_id`),
|
|
KEY `IDX_attachment_uploader_id` (`uploader_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `attachment`
|
|
--
|
|
|
|
LOCK TABLES `attachment` WRITE;
|
|
/*!40000 ALTER TABLE `attachment` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `attachment` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `auth_token`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `auth_token`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `auth_token` (
|
|
`id` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`token_hash` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`expires_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_auth_token_user_id` (`user_id`),
|
|
KEY `IDX_auth_token_expires_unix` (`expires_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `auth_token`
|
|
--
|
|
|
|
LOCK TABLES `auth_token` WRITE;
|
|
/*!40000 ALTER TABLE `auth_token` DISABLE KEYS */;
|
|
INSERT INTO `auth_token` VALUES ('bzMxk2syQB','0f484652ba812ecf48afce1fbd7f1e2ccd5ed32dc82ece8c146664a934258ef5',15,1755851803),('C6F84yk9TA','0c7c4e902e3fae1c0e7d0c8bafa664c410d320a5b4edaf1f054deb63c1af9029',16,1755851648),('FORUwCA20t','59a9be162aedd5cc1eeb6da96155f0f4958aa98fee29c2499d447de667315dca',18,1755851959),('nBV5N1pJOk','986784746913bbd0d266a3ee58d8cdf82f3eb2a9cac29db47a54b7ca35198525',31,1755924007),('OkRlkBEs3p','e25ec6075f49c766eff40c48471a24159a07f74e5a38e53abda68e1117d627a4',30,1755918767),('TqRk3WokHO','720c81679ce7a4fe5a5f92f7affdd470b5dace715d4e5972f0ed46009ba61bef',7,1755500956);
|
|
/*!40000 ALTER TABLE `auth_token` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `badge`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `badge`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `badge` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`slug` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`description` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`image_url` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_badge_slug` (`slug`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `badge`
|
|
--
|
|
|
|
LOCK TABLES `badge` WRITE;
|
|
/*!40000 ALTER TABLE `badge` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `badge` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `branch`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `branch`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `branch` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`commit_id` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`commit_message` text COLLATE utf8mb4_0900_as_cs,
|
|
`pusher_id` bigint DEFAULT NULL,
|
|
`is_deleted` tinyint(1) DEFAULT NULL,
|
|
`deleted_by_id` bigint DEFAULT NULL,
|
|
`deleted_unix` bigint DEFAULT NULL,
|
|
`commit_time` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_branch_s` (`repo_id`,`name`),
|
|
KEY `IDX_branch_is_deleted` (`is_deleted`),
|
|
KEY `IDX_branch_deleted_unix` (`deleted_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `branch`
|
|
--
|
|
|
|
LOCK TABLES `branch` WRITE;
|
|
/*!40000 ALTER TABLE `branch` DISABLE KEYS */;
|
|
INSERT INTO `branch` VALUES (1,1,'main','223253ad6a5751c37a72eb73c4faf49073d19579','test',1,0,0,0,1747318678,1747318806,1747318806),(2,2,'fix/datatables_unaligned_table_header','2be38518f12699a9035e79e34ff6b47d34670e66','Add custom script to adjust the width of DataTables when the side nav toggle is triggered.',7,0,0,0,1742191634,1752637206,1752637206),(3,2,'staging','4b70f8b300f3f3ca94813ac0657ccb4ede1c8a44','Merging fix/decimal_format_soa_create into staging through Beanstalk.',7,0,0,0,1752629508,1752637206,1752637206),(4,2,'fix/edit_user_phone_number','ac2fb5728aa21998c9a0b2f9d67f45b0813d436f','Fix: edit user phone number must accept 11 digits',7,0,0,0,1744595836,1752637206,1752637206),(5,2,'fix/create_unit_rent_duration_input','95cd35682ee1a22492e91f8df772f63e68577e7f','Fix: edit units should be type to 30 only',7,0,0,0,1744363469,1752637206,1752637206),(6,2,'fix/create_user_fields','a195091906bd021e17ccd5257a83eb23d98bb3a3','Fix: role data cant delete',7,0,0,0,1742811743,1752637206,1752637206),(7,2,'fix/create_property_validation','72968de311170ca93c5135f21bf157064d853337','Fix: add title and bullet for the list of errors',7,0,0,0,1742878976,1752637206,1752637206),(8,2,'feature/generate_monthly_invoice_unpaid','b1a654339820ce5ccee39c0abb38f8a7879b7737','change path folder',7,0,0,0,1729592118,1752637206,1752637206),(9,2,'feature/show_tenant_soa_list','f54453041a2d03e30614bc7667e101e53422c9d0','REFACTORED SOA',7,0,0,0,1751263258,1752637206,1752637206),(10,2,'fix/tenants_fields','25903b54d5ab69d3bd5c19bd9ca02da9be08b0a4','Fix: Dark the select dropdown in Tenant Utilities',7,0,0,0,1742284719,1752637206,1752637206),(11,2,'fix/tenants_overdue_penalty','ee36436977a9360dac533ceffd6f5c13e711e282','check overdue penalty when the payment of invoice is trigger',7,0,0,0,1744356477,1752637206,1752637206),(12,2,'fix/select2_darkmode','a5a63606021296e185b7ba6f3a2a8ca6a99cfee0','Added Select2 dark mode support and fixed the position of the first three fields in the Create Unit form.',7,0,0,0,1742277752,1752637206,1752637206),(13,2,'feature/multiple-properties-upon-adding-tenant','d2bf682464767033cc37197cda1840accc15f841','allow multiple properties upon adding of tenant - Create form',7,0,0,0,1729248623,1752637206,1752637206),(14,2,'feature/dashboard_graphs','cbad836239689c948d0d531417e0a5346dad8e7a','fix total invoice and expense',7,0,0,0,1749028862,1752637206,1752637206),(15,2,'fix/penalty_amount','0dbdf86d975140c86caec3a3b2421f2d339618a2','fix penalty amount',7,0,0,0,1746760947,1752637206,1752637206),(16,2,'fix/lease_index_th_resize','25320f53d6090f0ddeb427268e8d39ace3ca0e7a','fix: resize th table due to word are cutted',7,0,0,0,1745915327,1752637206,1752637206),(17,2,'fix/limit-character','5b4c695d4bbaa8f021f0560ecf8bbab4e93b48fa','[modified] app/Http/Controllers/RoleController.php => add code for update title',7,0,0,0,1745228993,1752637206,1752637206),(18,2,'feature/add_company_type_in_tenant','d903b120ea8e1b4c7a00591a72d4110a0e3c6f32','add mall in create space',7,0,0,0,1744095066,1752637206,1752637206),(19,2,'fix/edit_amount_utilities','82fbbb83bfd2eeb96a936062721dacbb13fcb103','Fix: Change edit utilities modal title',7,0,0,0,1742541844,1752637206,1752637206),(20,2,'fix/AutomaticInvoice','718f9099f611d6ed45a6fe37fdfb461d5ea0d244','update Automatic invoice for tenants',7,0,0,0,1742290475,1752637206,1752637206),(21,2,'feature/add_rental_and_base_rate_in_tenants','fc3e6d0250fc3b521c2c3480982e17b00ceb0a58','add rental column and base rate column in create tenant',7,0,0,0,1739345823,1752637206,1752637206),(22,2,'fix/soa-generate-pdf','6b13fcb7a0b52146bf84cd22661d84ffb1ccd57c','[modified] app/Http/Controllers/SoaController.php => the store and invoiceNumber method',7,0,0,0,1748341096,1752637206,1752637206),(23,2,'fix/pdf_roles_and_users','56c413ff97bad775c13ec43243410bfd2894b604','fix: pdf form',7,0,0,0,1746438350,1752637206,1752637206),(24,2,'feature/add_import_csv_file','ff5e3a35d8758354adf0b00cd14809eaf665dce3','fix: add id number',7,0,0,0,1745833363,1752637206,1752637206),(25,2,'fix/autopopulate_col','9cedaf0fcdc36b3b6a285586cf1f6228dbaede71','Fix: error 500 show lease data',7,0,0,0,1744271497,1752637206,1752637206),(26,2,'fix/penalty_void','eeaec979e0141763d19796b14c19576ed291c841','add invoice_id in penalties table,, change logic in penalty service.',7,0,0,0,1746680959,1752637206,1752637206),(27,2,'fix/rename_lease_to_leases','ad7374408cb8f8b2d4104bd5e195ebe3c8de1522','Fix: no error message is displayed when submitting it with empty fields',7,0,0,0,1744786515,1752637206,1752637206),(28,2,'feature/add_datepicker_merchants','810a48261872443c1315d3a0c75de8e2ed417edf','fix double lease start date in show blade',7,0,0,0,1744270849,1752637206,1752637206),(29,2,'fix/rename_all_tenant_to_merchant','98fe3cc33b69dcc2273340ed8d2b8df4903c9bee','Fix: tenant edit> remove company checkbox',7,0,0,0,1743655662,1752637206,1752637206),(30,2,'Fixed/PrintingInvoiceConflict','afe2ef86734f0231807330ceff1c3191eb973af5','update invoice printing',7,0,0,0,1752222220,1752637206,1752637206),(31,2,'feature/autofill_types_on_invoice','7390ea84a4b3d1fe22ce2e81be9e42d7091fecdf','Merging fix/lease_end_date into staging through Beanstalk.',7,0,0,0,1751851136,1752637206,1752637206),(32,2,'fix/soa_undefined_name','1eacd4e85ca0e0868dc88b261851f1c9988b377d','fix syntax error',7,0,0,0,1751379588,1752637206,1752637206),(33,2,'feature/add_vat_and_cwt','4187bb437368c076d332bede5c08979c482f744c','Fix lease contract and add vat and cwt fields',7,0,0,0,1751378470,1752637206,1752637206),(34,2,'fix/soa_breadcrumbs_redirection','bc32d2b3361e5602039570f96d88e2540018c377','Fix SOA breadcrumbs redirection: Change the redirection from Invoice to SOA.',7,0,0,0,1742784535,1752637206,1752637206),(35,2,'feature/lease_module_view','21ac7c1bd4779bf213576975bc234949157ce09f','[added] create renew in view lease,[modified] edit lease and create lease table',7,0,0,0,1740388077,1752637206,1752637206),(36,2,'fix/lease_end_date','bb7a69b4b3eedef43dbde999780c29679210f163','Fix end date in lease module. Invoice module auto fill on property and unit after select tenant',7,0,0,0,1751851057,1752637206,1752637206),(37,2,'fix/accounting-decline','688d200c44c26ccaedf99c99d93f46d933f399e4','[modified] app/Models/Soa.php => the soa model relation',7,0,0,0,1747212595,1752637206,1752637206),(38,2,'Fixed/TenantIdErrorOnIvoiceList','54598e2e96f99bf226ef3e5b28890fba1038be56','fix invoice issue on tenant_id',7,0,0,0,1746018891,1752637206,1752637206),(39,2,'fix/lease_rate_based_on_rent_in_unit','1debb621a95346087cf44ca50f71d828c9d2e4b6','Fix: lease rate is based on unit rent amount',7,0,0,0,1743575302,1752637206,1752637206),(40,2,'fix/undefined_merchant_in_soa','741162addbe7e353bc0ee5667e98423c910514e2','fix empty merchant name in soa',7,0,0,0,1751530389,1752637206,1752637206),(41,2,'client-feedback-05232025','d629615e3bb128f7ddd8ea0d48d697d40f41ce30','[modified] the SOA generate PDF file',7,0,0,0,1750308363,1752637206,1752637206),(42,2,'staging-fix-conflict','bd3caa7741868cd808ce4886c1658c3940d17101','[modified] .gitignore added storage/framework/',7,0,0,0,1740547675,1752637206,1752637206),(43,2,'fix/decimal_format_soa_create','e4d6cf6873ab8c531b4770b3dbb60871898cff0c','Set the SOA amount to 2 decimal only',7,0,0,0,1752629422,1752637206,1752637206),(44,2,'fix/apply_penalty_on_pastmonth','a1ff9e566bc26168f6ba0a4e2758891a1d8c5fa6','Apply penalty on the past month invoice',7,0,0,0,1750306173,1752637206,1752637206),(45,2,'feature/add-new-field-form','8f4af1456c3aeacb8e308dcc0a384e0c86d5f1b4','[modified] resources/views/tenant/show.blade.php => added to the position and name of representative to show module',7,0,0,0,1745489582,1752637206,1752637206),(46,2,'feature/multiple-unit-per-tetnat','209676208c2028ff281fc7ba395a3a8544e56e0d','Display multiple units of clients.',7,0,0,0,1729469156,1752637206,1752637206),(47,2,'fix/lease_table','54d18bc94df979b8ea3a9da9d79ef7de96dfa2c9','Fix: open tenant create must not email and password not autofilled',7,0,0,0,1742784733,1752637206,1752637206),(48,2,'fix/invoice_view_print','4dd2368af63b851ce157d7054a9e6c517dee1905','generate pdf based on user id',7,0,0,0,1729762837,1752637206,1752637206),(49,2,'feature/add_property_filter_auto_generate_invoice','9cf14ab63f8779c62bb90d842d07190daa6d8da0','add property filter on invoice generation',7,0,0,0,1751939919,1752637206,1752637206),(50,2,'fix/awarded_date_in_lease_module','4c93469ccfd24e10d1f6e98daf12ba430cd9875c','fix: awarded date should be before lease start date',7,0,0,0,1748247980,1752637206,1752637206),(51,2,'fix/may_2025_issues','9372098aa45e6a386e4341e43e0da319560d60c2','fix: change \"Inovice\" to Invoice\"',7,0,0,0,1746511165,1752637206,1752637206),(52,2,'fix/limit_characters_in_expense','b01607bad07c5c8355ffc4c8b8ee62f452c1ebef','Fix: limit characters to 50 only',7,0,0,0,1745213830,1752637206,1752637206),(53,2,'fix/unit_table_header','1a419181b0d9fc1b31445e9561ee41fbf8320b13','change the databtables_scrollHeaderInner class, from width to min-width.',7,0,0,0,1742809982,1752637206,1752637206),(54,2,'fix/dropdown_field_length','162d880712a2d707b8084ca68a972818aad6feb9','add qoutation on the value of with in custom js',7,0,0,0,1742274461,1752637206,1752637206),(55,2,'fix/hide_total_family_member_field','c365ce93a1dfe58d3303bdd632c4523593f58c51','hide the family input field and set the value to default 0',7,0,0,0,1729572178,1752637206,1752637206),(56,2,'master','228f306a89d01a34fda08f945a1233c8b0bf42c3','Merging staging into master through Beanstalk.',7,0,0,0,1728961646,1752637206,1752637206),(57,2,'feature/add_property_filter_in_dashboard','ccbce446a0994dfedaa151b103aad04092da4174','add property filter in dashboard and list the least almost end',7,0,0,0,1752209792,1752637206,1752637206),(58,2,'fix/penalties','39293dbdea1dc2d04fb322d4bb64043e8205f50a','Merging fix/pdf_roles_and_users into staging through Beanstalk.',7,0,0,0,1746439157,1752637206,1752637206),(59,2,'fix/tenant_download_documents','0ffdd648d993d408381ada7e78da982e8de5cbc5','Fix: tenant download documents must only jpeg,png and pdf',7,0,0,0,1744354326,1752637206,1752637206),(60,2,'feature/generate-soa','581988c3fdaa143e43d8422629aec631327536de','[modified] resources/views/lease/show.blade.php => the script causing error 500 from viewing the lease',7,0,0,0,1744331467,1752637206,1752637206),(61,2,'feature/tenant-classification','d26862b9c0ea2309beedaee16ee45cae3e2b5325','Update tenant classification. Add a company_name and isCompany column in tenant table.',7,0,0,0,1729056131,1752637206,1752637206),(62,2,'fix/create_invoice_types_auto_generate','698203cdf7521919df50b1574bd5e443f941514c','fix create invoice type auto generate',7,0,0,0,1752544989,1752637206,1752637206),(63,2,'fix/add_tenant_id_on_penalty','42ff2bc38d2098326cb26f2ece51c397463bd8ba','add tenant_id on penalties and run the overdue checker every view of the invoice',7,0,0,0,1744365404,1752637206,1752637206),(64,2,'fix/rename_all_unit_to_space','52c9b9c27b204c32f26cff4a40a7f6ab3ae3403c','Fix: property>show>rename unit to space in dropdown',7,0,0,0,1743677152,1752637206,1752637206),(65,2,'fix/add_tenant_in_invoice_search','602efd50c2ce659dd59262265988900de496de08','Fix: add tenant name in invoice search',7,0,0,0,1743396073,1752637206,1752637206),(66,2,'fix/lease_index_desc','d4d90f120a968582f3be8ce229e8def46d316fbe','Fix: show latest lease data to first page',7,0,0,0,1744360428,1752637206,1752637206),(67,2,'fix/note_edit_file_missing','ee226541437af1bfc385278c9905e26c2510c0fe','Display the file name as a link when a file exists in the edit note.',7,0,0,0,1742880214,1752637206,1752637206),(68,2,'fix/soa_save_error_message','7fb043570eb87804d1d1b2cadcaf48f7ef358a92','fix save error message response',7,0,0,0,1742359496,1752637206,1752637206),(69,2,'feature/create_tenant_invoice_job','bfdabb041db1b433128f9d085bc00c35bd4687a3','Automate tenant invoice generation with a monthly cron job. Initial implementation.',7,0,0,0,1741603432,1752637206,1752637206),(70,2,'fix/show_transaction_id_in_payment','acfceab9098d35d62ba171f1e98fb77f3e2610ed','change transaction ID into Reference Number',7,0,0,0,1752112243,1752637206,1752637206),(71,2,'fix/error_message_in_role_create','9326dc649989be67b246c236fa7dd21de50dad9b','fix: add pop-up error message',7,0,0,0,1746435120,1752637206,1752637206),(72,2,'Mod/PDFInvoiceUpdate','b75c77adca8802d068a725d714c1b6d227d4f4ec','Merge branch \'staging\' of https://sdsolutions.git.beanstalkapp.com/property-management into Mod/PDFInvoiceUpdate',7,0,0,0,1745569395,1752637206,1752637206),(73,2,'Mod/DiscountApproval','dba084c4b4f3c782758bba1a8a4b7dcf864ebb8d','Merge branch \'staging\' of https://sdsolutions.git.beanstalkapp.com/property-management into modGeneratedInvoice',7,0,0,0,1745321576,1752637206,1752637206),(74,2,'feature/renewal_module','78cedc5fc4805f4526ec4c1fb9b774fb45ab4612','[modified] change download generate lease of contract to stream pdf',7,0,0,0,1741249979,1752637206,1752637206),(75,2,'fix/generate_invoice_in_uploads_folder','60288a6b2bd8cfe847d0a6bf330ef4617c0c76de','Fix generate invoice - avoid to upload pdf file in the server',7,0,0,0,1739251616,1752637206,1752637206),(76,2,'fix/create_tenant_limit','0604f145bf0b2ccf32b23d2737068853373d7e80','add city in address details',7,0,0,0,1730887657,1752637206,1752637206),(77,2,'fix/migration','e3d9c52b86d4dce53c380b0848207cc2cc25206a','fix penalties migration',7,0,0,0,1746684446,1752637206,1752637206),(78,2,'feature/createleasepdf','959ae8a06f35918430212df754e17e64a73d99fe','[modified] app/Http/Controllers/SoaController.php => added the leasterm',7,0,0,0,1745550600,1752637206,1752637206),(79,2,'feature/overdue_penalty','51b97363eb7324c2783d23a0e2fbcc426ae4f2f7','Add penalty feature for overduepayment of tenants',7,0,0,0,1744090174,1752637206,1752637206),(80,2,'fix/create_tenant_password_not_required','6d3d60b1d940dc7c9792550c95d219781f6ae836','Fix: Password should be “as-is”, but not required',7,0,0,0,1743715134,1752637206,1752637206),(81,2,'Fixed/PrintingInvoiceModule','2799916cfdc8f2293852ac45ee1e7305542be1fa','update invoice printing',7,0,0,0,1752211747,1752637206,1752637206),(82,2,'feature/autogenerate_invoice_after_create','c56c1b45374f062eb7282a4401a79199867cc9f6','add invoice on created tenant',7,0,0,0,1750054339,1752637206,1752637206),(83,2,'fix/remove_fields_in_lease_module','0b3d548149e2c4dcc7ea04ff047a29be88c86736','fix: remove effectivity_date and expiration_date field in lease module',7,0,0,0,1748504278,1752637206,1752637206),(84,2,'fix/import_csv_file','14deed3ace40b7a9c33f5482b4a3b12e15011e5c','fix: add pop-up error when failed to import',7,0,0,0,1746783779,1752637206,1752637206),(85,2,'feature/add_tenant_utilities','cbb3b848f21d53f2a6886deea5cf81a2632d96da','[modified] tenant routes',7,0,0,0,1740128535,1752637206,1752637206),(86,2,'feature/lease_module_table','bb6da4ff1f55642e34693a66ddc03260d9e0933f','[added] view lease',7,0,0,0,1740040755,1752637206,1752637206),(87,2,'fix/expense_edit_file_missing','432aed40342607dacad0b3e71595aa078a62d50e','Display the file name as a link when a file exists in the edit expense.',7,0,0,0,1742890281,1752637206,1752637206),(88,2,'fix/error_prompt_invoice','bc24d8c0f7f0312b895c70caf2ee1b88c8d69250','Change the approach to handle errors by removing the first() method from each error return in the controller.',7,0,0,0,1742454516,1752637206,1752637206),(89,2,'fix/error_promp_soa','b275ffcb44459a623bc73af636014d4cb97af7e3','change format the promp validation, add custom validation message.',7,0,0,0,1742440361,1752637206,1752637206),(90,2,'fix/users_list_table_column','bbe35d3b5fc19b36dcbbdb73e2e718208d18d2a9','fix text not clear in dark mode (user column)',7,0,0,0,1742181815,1752637206,1752637206),(91,2,'fix/create-unit-form','7cf5c385f73233cd05dd46756c390c3f31845097','add default 0 if null',7,0,0,0,1729126709,1752637206,1752637206),(92,2,'fix/utilities_autogenerate_in_create_invoice','5c2aae19d536c87ee08fbc7c8e697b7862a2681b','Add auto fill invoice type of tenant lease in invoice create',7,0,0,0,1752039474,1752637206,1752637206),(93,2,'feature/add_area_sqm_in_lease_module','d4037cd685cc90632cee558279a468a227d80a4e','fix: rename occupancy start to awarded date in renew form',7,0,0,0,1749096116,1752637206,1752637206),(94,2,'Fixed/TenantIdIssueOnInvoice','6b0142330d4ed922ef6129038fa3f61e5216e5d6','update invoice issue on tenant_id',7,0,0,0,1746014952,1752637206,1752637206),(95,2,'modGeneratedInvoice','5a16b6f04a132d38675e992528a38710d497ecd1','update monthly rental invoice',7,0,0,0,1744701665,1752637206,1752637206),(96,2,'feature/update_property_unit_status','82e04474af3fd2342f1371d28562fdb26f283cc5','Create a queue jobs to update the status of proper unit',7,0,0,0,1729589424,1752637206,1752637206),(97,2,'Fixed/MerchantServerErrorWDashboardUpd','cf7a12d204adf4a1dce3b6b4a9fbb6ac99d43d95','update ignore',7,0,0,0,1752572791,1752637206,1752637206),(98,2,'Fixed/UtilitiesTypeIssue','6b0142330d4ed922ef6129038fa3f61e5216e5d6','update invoice issue on tenant_id',7,0,0,0,1746014952,1752637206,1752637206),(99,2,'fix/create_invoices','ff53112ee226c98238f6307855386485b717a14d','Fix: Action button misplaced (row 2 is empty)',7,0,0,0,1742378110,1752637206,1752637206),(100,2,'feature/accounting','6c3de7f900fb90db31b53e90c30e0a62335d7619','[modified] app/Http/Controllers/SoaController.php',7,0,0,0,1740037334,1752637206,1752637206);
|
|
/*!40000 ALTER TABLE `branch` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `collaboration`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `collaboration`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `collaboration` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint NOT NULL,
|
|
`user_id` bigint NOT NULL,
|
|
`mode` int NOT NULL DEFAULT '2',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_collaboration_s` (`repo_id`,`user_id`),
|
|
KEY `IDX_collaboration_repo_id` (`repo_id`),
|
|
KEY `IDX_collaboration_user_id` (`user_id`),
|
|
KEY `IDX_collaboration_created_unix` (`created_unix`),
|
|
KEY `IDX_collaboration_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `collaboration`
|
|
--
|
|
|
|
LOCK TABLES `collaboration` WRITE;
|
|
/*!40000 ALTER TABLE `collaboration` DISABLE KEYS */;
|
|
INSERT INTO `collaboration` VALUES (2,1,5,2,1747326855,1747326855);
|
|
/*!40000 ALTER TABLE `collaboration` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `comment`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `comment`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `comment` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`type` int DEFAULT NULL,
|
|
`poster_id` bigint DEFAULT NULL,
|
|
`original_author` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`original_author_id` bigint DEFAULT NULL,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`label_id` bigint DEFAULT NULL,
|
|
`old_project_id` bigint DEFAULT NULL,
|
|
`project_id` bigint DEFAULT NULL,
|
|
`old_milestone_id` bigint DEFAULT NULL,
|
|
`milestone_id` bigint DEFAULT NULL,
|
|
`time_id` bigint DEFAULT NULL,
|
|
`assignee_id` bigint DEFAULT NULL,
|
|
`removed_assignee` tinyint(1) DEFAULT NULL,
|
|
`assignee_team_id` bigint NOT NULL DEFAULT '0',
|
|
`resolve_doer_id` bigint DEFAULT NULL,
|
|
`old_title` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`new_title` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`old_ref` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`new_ref` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`dependent_issue_id` bigint DEFAULT NULL,
|
|
`commit_id` bigint DEFAULT NULL,
|
|
`line` bigint DEFAULT NULL,
|
|
`tree_path` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`content` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`content_version` int NOT NULL DEFAULT '0',
|
|
`patch` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`commit_sha` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`review_id` bigint DEFAULT NULL,
|
|
`invalidated` tinyint(1) DEFAULT NULL,
|
|
`ref_repo_id` bigint DEFAULT NULL,
|
|
`ref_issue_id` bigint DEFAULT NULL,
|
|
`ref_comment_id` bigint DEFAULT NULL,
|
|
`ref_action` smallint DEFAULT NULL,
|
|
`ref_is_pull` tinyint(1) DEFAULT NULL,
|
|
`comment_meta_data` text COLLATE utf8mb4_0900_as_cs,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_comment_updated_unix` (`updated_unix`),
|
|
KEY `IDX_comment_review_id` (`review_id`),
|
|
KEY `IDX_comment_type` (`type`),
|
|
KEY `IDX_comment_poster_id` (`poster_id`),
|
|
KEY `IDX_comment_dependent_issue_id` (`dependent_issue_id`),
|
|
KEY `IDX_comment_ref_issue_id` (`ref_issue_id`),
|
|
KEY `IDX_comment_ref_comment_id` (`ref_comment_id`),
|
|
KEY `IDX_comment_issue_id` (`issue_id`),
|
|
KEY `IDX_comment_created_unix` (`created_unix`),
|
|
KEY `IDX_comment_ref_repo_id` (`ref_repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `comment`
|
|
--
|
|
|
|
LOCK TABLES `comment` WRITE;
|
|
/*!40000 ALTER TABLE `comment` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `comment` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `commit_status`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `commit_status`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `commit_status` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`index` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`state` varchar(7) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`sha` varchar(64) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`target_url` text COLLATE utf8mb4_0900_as_cs,
|
|
`description` text COLLATE utf8mb4_0900_as_cs,
|
|
`context_hash` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`context` text COLLATE utf8mb4_0900_as_cs,
|
|
`creator_id` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_commit_status_repo_sha_index` (`index`,`repo_id`,`sha`),
|
|
KEY `IDX_commit_status_repo_id` (`repo_id`),
|
|
KEY `IDX_commit_status_sha` (`sha`),
|
|
KEY `IDX_commit_status_context_hash` (`context_hash`),
|
|
KEY `IDX_commit_status_created_unix` (`created_unix`),
|
|
KEY `IDX_commit_status_updated_unix` (`updated_unix`),
|
|
KEY `IDX_commit_status_index` (`index`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `commit_status`
|
|
--
|
|
|
|
LOCK TABLES `commit_status` WRITE;
|
|
/*!40000 ALTER TABLE `commit_status` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `commit_status` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `commit_status_index`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `commit_status_index`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `commit_status_index` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`sha` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`max_index` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_commit_status_index_repo_sha` (`repo_id`,`sha`),
|
|
KEY `IDX_commit_status_index_max_index` (`max_index`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `commit_status_index`
|
|
--
|
|
|
|
LOCK TABLES `commit_status_index` WRITE;
|
|
/*!40000 ALTER TABLE `commit_status_index` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `commit_status_index` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `commit_status_summary`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `commit_status_summary`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `commit_status_summary` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`sha` varchar(64) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`state` varchar(7) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`target_url` text COLLATE utf8mb4_0900_as_cs,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_commit_status_summary_repo_id_sha` (`repo_id`,`sha`),
|
|
KEY `IDX_commit_status_summary_repo_id` (`repo_id`),
|
|
KEY `IDX_commit_status_summary_sha` (`sha`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `commit_status_summary`
|
|
--
|
|
|
|
LOCK TABLES `commit_status_summary` WRITE;
|
|
/*!40000 ALTER TABLE `commit_status_summary` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `commit_status_summary` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dbfs_data`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dbfs_data`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `dbfs_data` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`revision` bigint NOT NULL,
|
|
`meta_id` bigint NOT NULL,
|
|
`blob_offset` bigint NOT NULL,
|
|
`blob_size` bigint NOT NULL,
|
|
`blob_data` blob NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_dbfs_data_meta_offset` (`meta_id`,`blob_offset`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dbfs_data`
|
|
--
|
|
|
|
LOCK TABLES `dbfs_data` WRITE;
|
|
/*!40000 ALTER TABLE `dbfs_data` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `dbfs_data` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `dbfs_meta`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `dbfs_meta`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `dbfs_meta` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`full_path` varchar(500) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`block_size` bigint NOT NULL,
|
|
`file_size` bigint NOT NULL,
|
|
`create_timestamp` bigint NOT NULL,
|
|
`modify_timestamp` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_dbfs_meta_full_path` (`full_path`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `dbfs_meta`
|
|
--
|
|
|
|
LOCK TABLES `dbfs_meta` WRITE;
|
|
/*!40000 ALTER TABLE `dbfs_meta` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `dbfs_meta` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `deploy_key`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `deploy_key`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `deploy_key` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`key_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`fingerprint` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`mode` int NOT NULL DEFAULT '1',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_deploy_key_s` (`key_id`,`repo_id`),
|
|
KEY `IDX_deploy_key_key_id` (`key_id`),
|
|
KEY `IDX_deploy_key_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `deploy_key`
|
|
--
|
|
|
|
LOCK TABLES `deploy_key` WRITE;
|
|
/*!40000 ALTER TABLE `deploy_key` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `deploy_key` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `email_address`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `email_address`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `email_address` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uid` bigint NOT NULL,
|
|
`email` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`lower_email` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`is_activated` tinyint(1) DEFAULT NULL,
|
|
`is_primary` tinyint(1) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_email_address_email` (`email`),
|
|
UNIQUE KEY `UQE_email_address_lower_email` (`lower_email`),
|
|
KEY `IDX_email_address_uid` (`uid`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `email_address`
|
|
--
|
|
|
|
LOCK TABLES `email_address` WRITE;
|
|
/*!40000 ALTER TABLE `email_address` DISABLE KEYS */;
|
|
INSERT INTO `email_address` VALUES (1,1,'support@sdsolutions.com.ph','support@sdsolutions.com.ph',1,1),(4,5,'eumir@sdsolutions.com.ph','eumir@sdsolutions.com.ph',1,1),(5,6,'jan@sdsolutions.com.ph','jan@sdsolutions.com.ph',1,1),(6,7,'resian@sdsolutions.com.ph','resian@sdsolutions.com.ph',1,1),(7,8,'june@sdsolutions.com.ph','june@sdsolutions.com.ph',1,1),(8,9,'florence@sdsolutions.com.ph','florence@sdsolutions.com.ph',1,1),(10,11,'shaddy@sdsolutions.com.ph','shaddy@sdsolutions.com.ph',1,1),(11,12,'rochelle@sdsolutions.com.ph','rochelle@sdsolutions.com.ph',1,1),(12,14,'daniel@sdsolutions.com.ph','daniel@sdsolutions.com.ph',1,1),(13,15,'philip@sdsolutions.com.ph','philip@sdsolutions.com.ph',1,1),(14,16,'james@sdsolutions.com.ph','james@sdsolutions.com.ph',1,1),(15,17,'johndominic@sdsolutions.com.ph','johndominic@sdsolutions.com.ph',1,1),(16,18,'jhon@sdsolutions.com.ph','jhon@sdsolutions.com.ph',1,1),(17,19,'gelo@sdsolutions.com.ph','gelo@sdsolutions.com.ph',1,1),(18,20,'roi@sdsolutions.com.ph','roi@sdsolutions.com.ph',1,1),(19,21,'gerald@sdsolutions.com.ph','gerald@sdsolutions.com.ph',1,1),(20,22,'keith@sdsolutions.com.ph','keith@sdsolutions.com.ph',1,1),(21,23,'renz@sdsolutions.com.ph','renz@sdsolutions.com.ph',1,1),(22,24,'alvin@sdsolutions.com.ph','alvin@sdsolutions.com.ph',1,1),(23,25,'anthony@sdsolutions.com.ph','anthony@sdsolutions.com.ph',1,1),(24,26,'johnny@sdsolutions.com.ph','johnny@sdsolutions.com.ph',1,1),(25,27,'jose@sdsolutions.com.ph','jose@sdsolutions.com.ph',1,1),(26,28,'kaeresvil@sdsolutions.com.ph','kaeresvil@sdsolutions.com.ph',1,1),(27,29,'bryan@sdsolutions.com.ph','bryan@sdsolutions.com.ph',1,1),(28,30,'kyle@sdsolutions.com.ph','kyle@sdsolutions.com.ph',1,1),(29,31,'niel@sdsolutions.com.ph','niel@sdsolutions.com.ph',1,1);
|
|
/*!40000 ALTER TABLE `email_address` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `email_hash`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `email_hash`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `email_hash` (
|
|
`hash` varchar(32) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`email` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
PRIMARY KEY (`hash`),
|
|
UNIQUE KEY `UQE_email_hash_email` (`email`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `email_hash`
|
|
--
|
|
|
|
LOCK TABLES `email_hash` WRITE;
|
|
/*!40000 ALTER TABLE `email_hash` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `email_hash` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `external_login_user`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `external_login_user`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `external_login_user` (
|
|
`external_id` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`user_id` bigint NOT NULL,
|
|
`login_source_id` bigint NOT NULL,
|
|
`raw_data` text COLLATE utf8mb4_0900_as_cs,
|
|
`provider` varchar(25) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`email` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`first_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`last_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`nick_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`description` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`avatar_url` text COLLATE utf8mb4_0900_as_cs,
|
|
`location` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`access_token` text COLLATE utf8mb4_0900_as_cs,
|
|
`access_token_secret` text COLLATE utf8mb4_0900_as_cs,
|
|
`refresh_token` text COLLATE utf8mb4_0900_as_cs,
|
|
`expires_at` datetime DEFAULT NULL,
|
|
PRIMARY KEY (`external_id`,`login_source_id`),
|
|
KEY `IDX_external_login_user_user_id` (`user_id`),
|
|
KEY `IDX_external_login_user_provider` (`provider`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `external_login_user`
|
|
--
|
|
|
|
LOCK TABLES `external_login_user` WRITE;
|
|
/*!40000 ALTER TABLE `external_login_user` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `external_login_user` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `follow`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `follow`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `follow` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`follow_id` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_follow_follow` (`user_id`,`follow_id`),
|
|
KEY `IDX_follow_created_unix` (`created_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `follow`
|
|
--
|
|
|
|
LOCK TABLES `follow` WRITE;
|
|
/*!40000 ALTER TABLE `follow` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `follow` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `gpg_key`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `gpg_key`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `gpg_key` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`owner_id` bigint NOT NULL,
|
|
`key_id` char(16) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`primary_key_id` char(16) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`content` mediumtext COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`expired_unix` bigint DEFAULT NULL,
|
|
`added_unix` bigint DEFAULT NULL,
|
|
`emails` text COLLATE utf8mb4_0900_as_cs,
|
|
`verified` tinyint(1) NOT NULL DEFAULT '0',
|
|
`can_sign` tinyint(1) DEFAULT NULL,
|
|
`can_encrypt_comms` tinyint(1) DEFAULT NULL,
|
|
`can_encrypt_storage` tinyint(1) DEFAULT NULL,
|
|
`can_certify` tinyint(1) DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_gpg_key_owner_id` (`owner_id`),
|
|
KEY `IDX_gpg_key_key_id` (`key_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `gpg_key`
|
|
--
|
|
|
|
LOCK TABLES `gpg_key` WRITE;
|
|
/*!40000 ALTER TABLE `gpg_key` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `gpg_key` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `gpg_key_import`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `gpg_key_import`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `gpg_key_import` (
|
|
`key_id` char(16) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`content` mediumtext COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
PRIMARY KEY (`key_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `gpg_key_import`
|
|
--
|
|
|
|
LOCK TABLES `gpg_key_import` WRITE;
|
|
/*!40000 ALTER TABLE `gpg_key_import` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `gpg_key_import` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `hook_task`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `hook_task`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `hook_task` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`hook_id` bigint DEFAULT NULL,
|
|
`uuid` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`payload_content` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`payload_version` int DEFAULT '1',
|
|
`event_type` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`is_delivered` tinyint(1) DEFAULT NULL,
|
|
`delivered` bigint DEFAULT NULL,
|
|
`is_succeed` tinyint(1) DEFAULT NULL,
|
|
`request_content` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`response_content` longtext COLLATE utf8mb4_0900_as_cs,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_hook_task_uuid` (`uuid`),
|
|
KEY `IDX_hook_task_hook_id` (`hook_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `hook_task`
|
|
--
|
|
|
|
LOCK TABLES `hook_task` WRITE;
|
|
/*!40000 ALTER TABLE `hook_task` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `hook_task` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `issue`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `issue`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `issue` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`index` bigint DEFAULT NULL,
|
|
`poster_id` bigint DEFAULT NULL,
|
|
`original_author` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`original_author_id` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`content` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`content_version` int NOT NULL DEFAULT '0',
|
|
`milestone_id` bigint DEFAULT NULL,
|
|
`priority` int DEFAULT NULL,
|
|
`is_closed` tinyint(1) DEFAULT NULL,
|
|
`is_pull` tinyint(1) DEFAULT NULL,
|
|
`num_comments` int DEFAULT NULL,
|
|
`ref` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`pin_order` int DEFAULT '0',
|
|
`deadline_unix` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`closed_unix` bigint DEFAULT NULL,
|
|
`is_locked` tinyint(1) NOT NULL DEFAULT '0',
|
|
`time_estimate` bigint NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_issue_repo_index` (`repo_id`,`index`),
|
|
KEY `IDX_issue_original_author_id` (`original_author_id`),
|
|
KEY `IDX_issue_is_closed` (`is_closed`),
|
|
KEY `IDX_issue_closed_unix` (`closed_unix`),
|
|
KEY `IDX_issue_repo_id` (`repo_id`),
|
|
KEY `IDX_issue_poster_id` (`poster_id`),
|
|
KEY `IDX_issue_milestone_id` (`milestone_id`),
|
|
KEY `IDX_issue_is_pull` (`is_pull`),
|
|
KEY `IDX_issue_deadline_unix` (`deadline_unix`),
|
|
KEY `IDX_issue_created_unix` (`created_unix`),
|
|
KEY `IDX_issue_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `issue`
|
|
--
|
|
|
|
LOCK TABLES `issue` WRITE;
|
|
/*!40000 ALTER TABLE `issue` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `issue` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `issue_assignees`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `issue_assignees`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `issue_assignees` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`assignee_id` bigint DEFAULT NULL,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_issue_assignees_assignee_id` (`assignee_id`),
|
|
KEY `IDX_issue_assignees_issue_id` (`issue_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `issue_assignees`
|
|
--
|
|
|
|
LOCK TABLES `issue_assignees` WRITE;
|
|
/*!40000 ALTER TABLE `issue_assignees` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `issue_assignees` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `issue_content_history`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `issue_content_history`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `issue_content_history` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`poster_id` bigint DEFAULT NULL,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`comment_id` bigint DEFAULT NULL,
|
|
`edited_unix` bigint DEFAULT NULL,
|
|
`content_text` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`is_first_created` tinyint(1) DEFAULT NULL,
|
|
`is_deleted` tinyint(1) DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_issue_content_history_issue_id` (`issue_id`),
|
|
KEY `IDX_issue_content_history_comment_id` (`comment_id`),
|
|
KEY `IDX_issue_content_history_edited_unix` (`edited_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `issue_content_history`
|
|
--
|
|
|
|
LOCK TABLES `issue_content_history` WRITE;
|
|
/*!40000 ALTER TABLE `issue_content_history` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `issue_content_history` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `issue_dependency`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `issue_dependency`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `issue_dependency` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint NOT NULL,
|
|
`issue_id` bigint NOT NULL,
|
|
`dependency_id` bigint NOT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_issue_dependency_issue_dependency` (`issue_id`,`dependency_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `issue_dependency`
|
|
--
|
|
|
|
LOCK TABLES `issue_dependency` WRITE;
|
|
/*!40000 ALTER TABLE `issue_dependency` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `issue_dependency` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `issue_index`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `issue_index`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `issue_index` (
|
|
`group_id` bigint NOT NULL,
|
|
`max_index` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`group_id`),
|
|
KEY `IDX_issue_index_max_index` (`max_index`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `issue_index`
|
|
--
|
|
|
|
LOCK TABLES `issue_index` WRITE;
|
|
/*!40000 ALTER TABLE `issue_index` DISABLE KEYS */;
|
|
INSERT INTO `issue_index` VALUES (2,0);
|
|
/*!40000 ALTER TABLE `issue_index` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `issue_label`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `issue_label`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `issue_label` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`label_id` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_issue_label_s` (`issue_id`,`label_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `issue_label`
|
|
--
|
|
|
|
LOCK TABLES `issue_label` WRITE;
|
|
/*!40000 ALTER TABLE `issue_label` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `issue_label` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `issue_user`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `issue_user`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `issue_user` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uid` bigint DEFAULT NULL,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`is_read` tinyint(1) DEFAULT NULL,
|
|
`is_mentioned` tinyint(1) DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_issue_user_uid_to_issue` (`uid`,`issue_id`),
|
|
KEY `IDX_issue_user_uid` (`uid`),
|
|
KEY `IDX_issue_user_issue_id` (`issue_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `issue_user`
|
|
--
|
|
|
|
LOCK TABLES `issue_user` WRITE;
|
|
/*!40000 ALTER TABLE `issue_user` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `issue_user` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `issue_watch`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `issue_watch`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `issue_watch` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint NOT NULL,
|
|
`issue_id` bigint NOT NULL,
|
|
`is_watching` tinyint(1) NOT NULL,
|
|
`created_unix` bigint NOT NULL,
|
|
`updated_unix` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_issue_watch_watch` (`user_id`,`issue_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `issue_watch`
|
|
--
|
|
|
|
LOCK TABLES `issue_watch` WRITE;
|
|
/*!40000 ALTER TABLE `issue_watch` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `issue_watch` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `label`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `label`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `label` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`org_id` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`exclusive` tinyint(1) DEFAULT NULL,
|
|
`description` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`color` varchar(7) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`num_issues` int DEFAULT NULL,
|
|
`num_closed_issues` int DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`archived_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_label_org_id` (`org_id`),
|
|
KEY `IDX_label_created_unix` (`created_unix`),
|
|
KEY `IDX_label_updated_unix` (`updated_unix`),
|
|
KEY `IDX_label_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `label`
|
|
--
|
|
|
|
LOCK TABLES `label` WRITE;
|
|
/*!40000 ALTER TABLE `label` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `label` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `language_stat`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `language_stat`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `language_stat` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint NOT NULL,
|
|
`commit_id` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`is_primary` tinyint(1) DEFAULT NULL,
|
|
`language` varchar(50) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`size` bigint NOT NULL DEFAULT '0',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_language_stat_s` (`repo_id`,`language`),
|
|
KEY `IDX_language_stat_repo_id` (`repo_id`),
|
|
KEY `IDX_language_stat_language` (`language`),
|
|
KEY `IDX_language_stat_created_unix` (`created_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `language_stat`
|
|
--
|
|
|
|
LOCK TABLES `language_stat` WRITE;
|
|
/*!40000 ALTER TABLE `language_stat` DISABLE KEYS */;
|
|
INSERT INTO `language_stat` VALUES (1,1,'223253ad6a5751c37a72eb73c4faf49073d19579',1,'PHP',31,1747318809),(2,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',0,'JavaScript',34761,1752637208),(3,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',0,'Pug',1081848,1752637208),(4,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',0,'SCSS',256855,1752637208),(5,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',0,'Sass',52497,1752637208),(6,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',0,'Blade',471644,1752637208),(7,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',0,'PHP',1042817,1752637208),(8,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',0,'HTML',1076,1752637208),(9,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',1,'CSS',3116462,1752637208);
|
|
/*!40000 ALTER TABLE `language_stat` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `lfs_lock`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `lfs_lock`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `lfs_lock` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint NOT NULL,
|
|
`owner_id` bigint NOT NULL,
|
|
`path` text COLLATE utf8mb4_0900_as_cs,
|
|
`created` datetime DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_lfs_lock_owner_id` (`owner_id`),
|
|
KEY `IDX_lfs_lock_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `lfs_lock`
|
|
--
|
|
|
|
LOCK TABLES `lfs_lock` WRITE;
|
|
/*!40000 ALTER TABLE `lfs_lock` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `lfs_lock` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `lfs_meta_object`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `lfs_meta_object`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `lfs_meta_object` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`oid` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`size` bigint NOT NULL,
|
|
`repository_id` bigint NOT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_lfs_meta_object_s` (`oid`,`repository_id`),
|
|
KEY `IDX_lfs_meta_object_repository_id` (`repository_id`),
|
|
KEY `IDX_lfs_meta_object_updated_unix` (`updated_unix`),
|
|
KEY `IDX_lfs_meta_object_oid` (`oid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `lfs_meta_object`
|
|
--
|
|
|
|
LOCK TABLES `lfs_meta_object` WRITE;
|
|
/*!40000 ALTER TABLE `lfs_meta_object` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `lfs_meta_object` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `login_source`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `login_source`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `login_source` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`type` int DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`is_active` tinyint(1) NOT NULL DEFAULT '0',
|
|
`is_sync_enabled` tinyint(1) NOT NULL DEFAULT '0',
|
|
`cfg` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_login_source_name` (`name`),
|
|
KEY `IDX_login_source_is_active` (`is_active`),
|
|
KEY `IDX_login_source_is_sync_enabled` (`is_sync_enabled`),
|
|
KEY `IDX_login_source_created_unix` (`created_unix`),
|
|
KEY `IDX_login_source_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `login_source`
|
|
--
|
|
|
|
LOCK TABLES `login_source` WRITE;
|
|
/*!40000 ALTER TABLE `login_source` DISABLE KEYS */;
|
|
INSERT INTO `login_source` VALUES (1,2,'Jumpcloud',1,1,'{\"Name\":\"Jumpcloud\",\"Host\":\"ldap.jumpcloud.com\",\"Port\":389,\"SecurityProtocol\":2,\"SkipVerify\":false,\"BindDN\":\"uid=eumir,ou=Users,o=63bc141b4e6cd7e1ff9531fc,dc=jumpcloud,dc=com\",\"BindPasswordEncrypt\":\"7ec5e95f51072b74f761db6df07308e9a08789f2af38624ea41bd2e88a914903\",\"BindPassword\":\"\",\"UserBase\":\"ou=Users,o=63bc141b4e6cd7e1ff9531fc,dc=jumpcloud,dc=com\",\"UserDN\":\"\",\"AttributeUsername\":\"uid\",\"AttributeName\":\"givenName\",\"AttributeSurname\":\"sn\",\"AttributeMail\":\"mail\",\"AttributesInBind\":false,\"AttributeSSHPublicKey\":\"\",\"AttributeAvatar\":\"\",\"SearchPageSize\":0,\"Filter\":\"(\\u0026(objectClass=jumpcloudUser)(uid=%[1]s)(memberof=cn=SDS Git,ou=Users,o=63bc141b4e6cd7e1ff9531fc,dc=jumpcloud,dc=com))\",\"AdminFilter\":\"(\\u0026(objectClass=jumpcloudUser)(uid=%[1]s)(memberof=cn=SDS Git Admin,ou=Groups,o=63bc141b4e6cd7e1ff9531fc,dc=jumpcloud,dc=com))\",\"RestrictedFilter\":\"\",\"Enabled\":true,\"AllowDeactivateAll\":false,\"GroupsEnabled\":false,\"GroupDN\":\"\",\"GroupFilter\":\"\",\"GroupMemberUID\":\"\",\"GroupTeamMap\":\"\",\"GroupTeamMapRemoval\":false,\"UserUID\":\"\"}',1747309516,1752638013);
|
|
/*!40000 ALTER TABLE `login_source` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `milestone`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `milestone`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `milestone` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`content` text COLLATE utf8mb4_0900_as_cs,
|
|
`is_closed` tinyint(1) DEFAULT NULL,
|
|
`num_issues` int DEFAULT NULL,
|
|
`num_closed_issues` int DEFAULT NULL,
|
|
`completeness` int DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`deadline_unix` bigint DEFAULT NULL,
|
|
`closed_date_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_milestone_updated_unix` (`updated_unix`),
|
|
KEY `IDX_milestone_repo_id` (`repo_id`),
|
|
KEY `IDX_milestone_created_unix` (`created_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `milestone`
|
|
--
|
|
|
|
LOCK TABLES `milestone` WRITE;
|
|
/*!40000 ALTER TABLE `milestone` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `milestone` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `mirror`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `mirror`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `mirror` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`interval` bigint DEFAULT NULL,
|
|
`enable_prune` tinyint(1) NOT NULL DEFAULT '1',
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`next_update_unix` bigint DEFAULT NULL,
|
|
`lfs_enabled` tinyint(1) NOT NULL DEFAULT '0',
|
|
`lfs_endpoint` text COLLATE utf8mb4_0900_as_cs,
|
|
`remote_address` varchar(2048) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_mirror_repo_id` (`repo_id`),
|
|
KEY `IDX_mirror_updated_unix` (`updated_unix`),
|
|
KEY `IDX_mirror_next_update_unix` (`next_update_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `mirror`
|
|
--
|
|
|
|
LOCK TABLES `mirror` WRITE;
|
|
/*!40000 ALTER TABLE `mirror` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `mirror` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `notice`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `notice`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `notice` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`type` int DEFAULT NULL,
|
|
`description` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_notice_created_unix` (`created_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `notice`
|
|
--
|
|
|
|
LOCK TABLES `notice` WRITE;
|
|
/*!40000 ALTER TABLE `notice` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `notice` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `notification`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `notification`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `notification` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint NOT NULL,
|
|
`repo_id` bigint NOT NULL,
|
|
`status` smallint NOT NULL,
|
|
`source` smallint NOT NULL,
|
|
`issue_id` bigint NOT NULL,
|
|
`commit_id` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`comment_id` bigint DEFAULT NULL,
|
|
`updated_by` bigint NOT NULL,
|
|
`created_unix` bigint NOT NULL,
|
|
`updated_unix` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_notification_u_s_uu` (`user_id`,`status`,`updated_unix`),
|
|
KEY `IDX_notification_idx_notification_user_id` (`user_id`),
|
|
KEY `IDX_notification_idx_notification_repo_id` (`repo_id`),
|
|
KEY `IDX_notification_idx_notification_status` (`status`),
|
|
KEY `IDX_notification_idx_notification_source` (`source`),
|
|
KEY `IDX_notification_idx_notification_issue_id` (`issue_id`),
|
|
KEY `IDX_notification_idx_notification_commit_id` (`commit_id`),
|
|
KEY `IDX_notification_idx_notification_updated_by` (`updated_by`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `notification`
|
|
--
|
|
|
|
LOCK TABLES `notification` WRITE;
|
|
/*!40000 ALTER TABLE `notification` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `notification` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `oauth2_application`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `oauth2_application`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `oauth2_application` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uid` bigint DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`client_id` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`client_secret` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`confidential_client` tinyint(1) NOT NULL DEFAULT '1',
|
|
`skip_secondary_authorization` tinyint(1) NOT NULL DEFAULT '0',
|
|
`redirect_uris` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_oauth2_application_client_id` (`client_id`),
|
|
KEY `IDX_oauth2_application_uid` (`uid`),
|
|
KEY `IDX_oauth2_application_created_unix` (`created_unix`),
|
|
KEY `IDX_oauth2_application_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `oauth2_application`
|
|
--
|
|
|
|
LOCK TABLES `oauth2_application` WRITE;
|
|
/*!40000 ALTER TABLE `oauth2_application` DISABLE KEYS */;
|
|
INSERT INTO `oauth2_application` VALUES (1,0,'git-credential-oauth','a4792ccc-144e-407e-86c9-5e7d8d9c3269','',0,0,'[\"http://127.0.0.1\",\"https://127.0.0.1\"]',1747290588,1747290588),(2,0,'Git Credential Manager','e90ee53c-94e2-48ac-9358-a874fb9e0662','',0,0,'[\"http://127.0.0.1\",\"https://127.0.0.1\"]',1747290588,1747290588),(3,0,'tea','d57cb8c4-630c-4168-8324-ec79935e18d4','',0,0,'[\"http://127.0.0.1\",\"https://127.0.0.1\"]',1747290588,1747290588);
|
|
/*!40000 ALTER TABLE `oauth2_application` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `oauth2_authorization_code`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `oauth2_authorization_code`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `oauth2_authorization_code` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`grant_id` bigint DEFAULT NULL,
|
|
`code` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`code_challenge` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`code_challenge_method` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`redirect_uri` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`valid_until` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_oauth2_authorization_code_code` (`code`),
|
|
KEY `IDX_oauth2_authorization_code_valid_until` (`valid_until`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `oauth2_authorization_code`
|
|
--
|
|
|
|
LOCK TABLES `oauth2_authorization_code` WRITE;
|
|
/*!40000 ALTER TABLE `oauth2_authorization_code` DISABLE KEYS */;
|
|
INSERT INTO `oauth2_authorization_code` VALUES (2,2,'gta_nm44yayrg4vvafgk62uazpkirofvlkkghoxw7lxooqnqjrq4fgdq','','','http://127.0.0.1:61523/',0);
|
|
/*!40000 ALTER TABLE `oauth2_authorization_code` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `oauth2_grant`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `oauth2_grant`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `oauth2_grant` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`application_id` bigint DEFAULT NULL,
|
|
`counter` bigint NOT NULL DEFAULT '1',
|
|
`scope` text COLLATE utf8mb4_0900_as_cs,
|
|
`nonce` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_oauth2_grant_user_application` (`user_id`,`application_id`),
|
|
KEY `IDX_oauth2_grant_user_id` (`user_id`),
|
|
KEY `IDX_oauth2_grant_application_id` (`application_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `oauth2_grant`
|
|
--
|
|
|
|
LOCK TABLES `oauth2_grant` WRITE;
|
|
/*!40000 ALTER TABLE `oauth2_grant` DISABLE KEYS */;
|
|
INSERT INTO `oauth2_grant` VALUES (1,1,2,0,'','',1747318804,1747318804),(2,7,2,0,'','',1753176553,1753176553);
|
|
/*!40000 ALTER TABLE `oauth2_grant` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `org_user`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `org_user`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `org_user` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uid` bigint DEFAULT NULL,
|
|
`org_id` bigint DEFAULT NULL,
|
|
`is_public` tinyint(1) DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_org_user_s` (`uid`,`org_id`),
|
|
KEY `IDX_org_user_uid` (`uid`),
|
|
KEY `IDX_org_user_org_id` (`org_id`),
|
|
KEY `IDX_org_user_is_public` (`is_public`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `org_user`
|
|
--
|
|
|
|
LOCK TABLES `org_user` WRITE;
|
|
/*!40000 ALTER TABLE `org_user` DISABLE KEYS */;
|
|
INSERT INTO `org_user` VALUES (1,1,2,0),(2,5,2,0),(3,7,2,0),(4,6,2,0),(6,9,2,0),(7,12,2,0),(8,7,13,0),(9,11,2,0),(10,14,13,0),(11,21,13,0),(12,17,13,0),(13,18,13,0),(14,17,2,0),(15,19,2,0),(16,12,13,0),(17,5,13,0),(18,23,2,0),(19,23,13,0),(20,8,2,0),(21,22,2,0),(22,15,2,0),(23,20,2,0);
|
|
/*!40000 ALTER TABLE `org_user` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `package`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `package`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `package` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`owner_id` bigint NOT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`type` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`lower_name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`semver_compatible` tinyint(1) NOT NULL DEFAULT '0',
|
|
`is_internal` tinyint(1) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_package_s` (`owner_id`,`type`,`lower_name`),
|
|
KEY `IDX_package_repo_id` (`repo_id`),
|
|
KEY `IDX_package_type` (`type`),
|
|
KEY `IDX_package_lower_name` (`lower_name`),
|
|
KEY `IDX_package_owner_id` (`owner_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `package`
|
|
--
|
|
|
|
LOCK TABLES `package` WRITE;
|
|
/*!40000 ALTER TABLE `package` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `package` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `package_blob`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `package_blob`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `package_blob` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`size` bigint NOT NULL DEFAULT '0',
|
|
`hash_md5` char(32) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`hash_sha1` char(40) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`hash_sha256` char(64) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`hash_sha512` char(128) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`created_unix` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_package_blob_sha256` (`hash_sha256`),
|
|
UNIQUE KEY `UQE_package_blob_md5` (`hash_md5`),
|
|
UNIQUE KEY `UQE_package_blob_sha1` (`hash_sha1`),
|
|
UNIQUE KEY `UQE_package_blob_sha512` (`hash_sha512`),
|
|
KEY `IDX_package_blob_created_unix` (`created_unix`),
|
|
KEY `IDX_package_blob_hash_sha1` (`hash_sha1`),
|
|
KEY `IDX_package_blob_hash_sha256` (`hash_sha256`),
|
|
KEY `IDX_package_blob_hash_md5` (`hash_md5`),
|
|
KEY `IDX_package_blob_hash_sha512` (`hash_sha512`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `package_blob`
|
|
--
|
|
|
|
LOCK TABLES `package_blob` WRITE;
|
|
/*!40000 ALTER TABLE `package_blob` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `package_blob` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `package_blob_upload`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `package_blob_upload`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `package_blob_upload` (
|
|
`id` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`bytes_received` bigint NOT NULL DEFAULT '0',
|
|
`hash_state_bytes` blob,
|
|
`created_unix` bigint NOT NULL,
|
|
`updated_unix` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_package_blob_upload_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `package_blob_upload`
|
|
--
|
|
|
|
LOCK TABLES `package_blob_upload` WRITE;
|
|
/*!40000 ALTER TABLE `package_blob_upload` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `package_blob_upload` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `package_cleanup_rule`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `package_cleanup_rule`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `package_cleanup_rule` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`enabled` tinyint(1) NOT NULL DEFAULT '0',
|
|
`owner_id` bigint NOT NULL DEFAULT '0',
|
|
`type` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`keep_count` int NOT NULL DEFAULT '0',
|
|
`keep_pattern` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT '',
|
|
`remove_days` int NOT NULL DEFAULT '0',
|
|
`remove_pattern` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT '',
|
|
`match_full_name` tinyint(1) NOT NULL DEFAULT '0',
|
|
`created_unix` bigint NOT NULL DEFAULT '0',
|
|
`updated_unix` bigint NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_package_cleanup_rule_s` (`owner_id`,`type`),
|
|
KEY `IDX_package_cleanup_rule_enabled` (`enabled`),
|
|
KEY `IDX_package_cleanup_rule_owner_id` (`owner_id`),
|
|
KEY `IDX_package_cleanup_rule_type` (`type`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `package_cleanup_rule`
|
|
--
|
|
|
|
LOCK TABLES `package_cleanup_rule` WRITE;
|
|
/*!40000 ALTER TABLE `package_cleanup_rule` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `package_cleanup_rule` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `package_file`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `package_file`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `package_file` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`version_id` bigint NOT NULL,
|
|
`blob_id` bigint NOT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`lower_name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`composite_key` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`is_lead` tinyint(1) NOT NULL DEFAULT '0',
|
|
`created_unix` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_package_file_s` (`version_id`,`lower_name`,`composite_key`),
|
|
KEY `IDX_package_file_blob_id` (`blob_id`),
|
|
KEY `IDX_package_file_lower_name` (`lower_name`),
|
|
KEY `IDX_package_file_composite_key` (`composite_key`),
|
|
KEY `IDX_package_file_created_unix` (`created_unix`),
|
|
KEY `IDX_package_file_version_id` (`version_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `package_file`
|
|
--
|
|
|
|
LOCK TABLES `package_file` WRITE;
|
|
/*!40000 ALTER TABLE `package_file` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `package_file` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `package_property`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `package_property`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `package_property` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`ref_type` bigint NOT NULL,
|
|
`ref_id` bigint NOT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`value` text COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_package_property_ref_id` (`ref_id`),
|
|
KEY `IDX_package_property_name` (`name`),
|
|
KEY `IDX_package_property_ref_type` (`ref_type`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `package_property`
|
|
--
|
|
|
|
LOCK TABLES `package_property` WRITE;
|
|
/*!40000 ALTER TABLE `package_property` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `package_property` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `package_version`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `package_version`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `package_version` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`package_id` bigint NOT NULL,
|
|
`creator_id` bigint NOT NULL DEFAULT '0',
|
|
`version` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`lower_version` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`created_unix` bigint NOT NULL,
|
|
`is_internal` tinyint(1) NOT NULL DEFAULT '0',
|
|
`metadata_json` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`download_count` bigint NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_package_version_s` (`package_id`,`lower_version`),
|
|
KEY `IDX_package_version_package_id` (`package_id`),
|
|
KEY `IDX_package_version_lower_version` (`lower_version`),
|
|
KEY `IDX_package_version_created_unix` (`created_unix`),
|
|
KEY `IDX_package_version_is_internal` (`is_internal`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `package_version`
|
|
--
|
|
|
|
LOCK TABLES `package_version` WRITE;
|
|
/*!40000 ALTER TABLE `package_version` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `package_version` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `project`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `project`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `project` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`title` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`description` text COLLATE utf8mb4_0900_as_cs,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`creator_id` bigint NOT NULL,
|
|
`is_closed` tinyint(1) DEFAULT NULL,
|
|
`board_type` int unsigned DEFAULT NULL,
|
|
`card_type` int unsigned DEFAULT NULL,
|
|
`type` int unsigned DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`closed_date_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_project_title` (`title`),
|
|
KEY `IDX_project_owner_id` (`owner_id`),
|
|
KEY `IDX_project_repo_id` (`repo_id`),
|
|
KEY `IDX_project_is_closed` (`is_closed`),
|
|
KEY `IDX_project_created_unix` (`created_unix`),
|
|
KEY `IDX_project_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `project`
|
|
--
|
|
|
|
LOCK TABLES `project` WRITE;
|
|
/*!40000 ALTER TABLE `project` DISABLE KEYS */;
|
|
INSERT INTO `project` VALUES (1,'test ','',0,1,5,0,1,1,2,1747326918,1747326918,0),(2,'Repo Migration Project','Hello, let\'s have all REPO MIGRATION DISCUSSIONS HERE\r\n\r\n[Status here](https://docs.google.com/spreadsheets/d/1g5DobA6QxetISsJxJvxYT6wowOOqMrzefKYtg4jLquM/edit?gid=785241483#gid=785241483)\r\n\r\n\r\n',2,0,1,0,0,1,3,1752638609,1752639015,0);
|
|
/*!40000 ALTER TABLE `project` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `project_board`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `project_board`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `project_board` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`title` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`default` tinyint(1) NOT NULL DEFAULT '0',
|
|
`sorting` int NOT NULL DEFAULT '0',
|
|
`color` varchar(7) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`project_id` bigint NOT NULL,
|
|
`creator_id` bigint NOT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_project_board_project_id` (`project_id`),
|
|
KEY `IDX_project_board_created_unix` (`created_unix`),
|
|
KEY `IDX_project_board_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `project_board`
|
|
--
|
|
|
|
LOCK TABLES `project_board` WRITE;
|
|
/*!40000 ALTER TABLE `project_board` DISABLE KEYS */;
|
|
INSERT INTO `project_board` VALUES (1,'Backlog',1,0,'',1,5,1747326918,1747326918),(2,'To Do',0,0,'',1,5,1747326918,1747326918),(3,'In Progress',0,0,'',1,5,1747326918,1747326918),(4,'Done',0,0,'',1,5,1747326918,1747326918),(5,'Migration',1,1,'',2,1,1752638616,1752638794),(6,'Inbox',0,0,'',2,1,1752638785,1752638911),(7,'Done',0,2,'',2,1,1752638798,1752638798);
|
|
/*!40000 ALTER TABLE `project_board` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `project_issue`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `project_issue`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `project_issue` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`project_id` bigint DEFAULT NULL,
|
|
`project_board_id` bigint DEFAULT NULL,
|
|
`sorting` bigint NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_project_issue_project_id` (`project_id`),
|
|
KEY `IDX_project_issue_project_board_id` (`project_board_id`),
|
|
KEY `IDX_project_issue_issue_id` (`issue_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `project_issue`
|
|
--
|
|
|
|
LOCK TABLES `project_issue` WRITE;
|
|
/*!40000 ALTER TABLE `project_issue` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `project_issue` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `protected_branch`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `protected_branch`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `protected_branch` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`branch_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`priority` bigint NOT NULL DEFAULT '0',
|
|
`can_push` tinyint(1) NOT NULL DEFAULT '0',
|
|
`enable_whitelist` tinyint(1) DEFAULT NULL,
|
|
`whitelist_user_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`whitelist_team_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`enable_merge_whitelist` tinyint(1) NOT NULL DEFAULT '0',
|
|
`whitelist_deploy_keys` tinyint(1) NOT NULL DEFAULT '0',
|
|
`merge_whitelist_user_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`merge_whitelist_team_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`can_force_push` tinyint(1) NOT NULL DEFAULT '0',
|
|
`enable_force_push_allowlist` tinyint(1) NOT NULL DEFAULT '0',
|
|
`force_push_allowlist_user_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`force_push_allowlist_team_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`force_push_allowlist_deploy_keys` tinyint(1) NOT NULL DEFAULT '0',
|
|
`enable_status_check` tinyint(1) NOT NULL DEFAULT '0',
|
|
`status_check_contexts` text COLLATE utf8mb4_0900_as_cs,
|
|
`enable_approvals_whitelist` tinyint(1) NOT NULL DEFAULT '0',
|
|
`approvals_whitelist_user_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`approvals_whitelist_team_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`required_approvals` bigint NOT NULL DEFAULT '0',
|
|
`block_on_rejected_reviews` tinyint(1) NOT NULL DEFAULT '0',
|
|
`block_on_official_review_requests` tinyint(1) NOT NULL DEFAULT '0',
|
|
`block_on_outdated_branch` tinyint(1) NOT NULL DEFAULT '0',
|
|
`dismiss_stale_approvals` tinyint(1) NOT NULL DEFAULT '0',
|
|
`ignore_stale_approvals` tinyint(1) NOT NULL DEFAULT '0',
|
|
`require_signed_commits` tinyint(1) NOT NULL DEFAULT '0',
|
|
`protected_file_patterns` text COLLATE utf8mb4_0900_as_cs,
|
|
`unprotected_file_patterns` text COLLATE utf8mb4_0900_as_cs,
|
|
`block_admin_merge_override` tinyint(1) NOT NULL DEFAULT '0',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_protected_branch_s` (`repo_id`,`branch_name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `protected_branch`
|
|
--
|
|
|
|
LOCK TABLES `protected_branch` WRITE;
|
|
/*!40000 ALTER TABLE `protected_branch` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `protected_branch` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `protected_tag`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `protected_tag`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `protected_tag` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`name_pattern` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`allowlist_user_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`allowlist_team_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `protected_tag`
|
|
--
|
|
|
|
LOCK TABLES `protected_tag` WRITE;
|
|
/*!40000 ALTER TABLE `protected_tag` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `protected_tag` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `public_key`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `public_key`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `public_key` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`owner_id` bigint NOT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`fingerprint` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`content` mediumtext COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`mode` int NOT NULL DEFAULT '2',
|
|
`type` int NOT NULL DEFAULT '1',
|
|
`login_source_id` bigint NOT NULL DEFAULT '0',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`verified` tinyint(1) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_public_key_fingerprint` (`fingerprint`),
|
|
KEY `IDX_public_key_owner_id` (`owner_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `public_key`
|
|
--
|
|
|
|
LOCK TABLES `public_key` WRITE;
|
|
/*!40000 ALTER TABLE `public_key` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `public_key` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pull_auto_merge`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pull_auto_merge`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `pull_auto_merge` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`pull_id` bigint DEFAULT NULL,
|
|
`doer_id` bigint NOT NULL,
|
|
`merge_style` varchar(30) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`message` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_pull_auto_merge_pull_id` (`pull_id`),
|
|
KEY `IDX_pull_auto_merge_doer_id` (`doer_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pull_auto_merge`
|
|
--
|
|
|
|
LOCK TABLES `pull_auto_merge` WRITE;
|
|
/*!40000 ALTER TABLE `pull_auto_merge` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pull_auto_merge` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pull_request`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pull_request`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `pull_request` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`type` int DEFAULT NULL,
|
|
`status` int DEFAULT NULL,
|
|
`conflicted_files` text COLLATE utf8mb4_0900_as_cs,
|
|
`commits_ahead` int DEFAULT NULL,
|
|
`commits_behind` int DEFAULT NULL,
|
|
`changed_protected_files` text COLLATE utf8mb4_0900_as_cs,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`index` bigint DEFAULT NULL,
|
|
`head_repo_id` bigint DEFAULT NULL,
|
|
`base_repo_id` bigint DEFAULT NULL,
|
|
`head_branch` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`base_branch` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`merge_base` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`allow_maintainer_edit` tinyint(1) NOT NULL DEFAULT '0',
|
|
`has_merged` tinyint(1) DEFAULT NULL,
|
|
`merged_commit_id` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`merger_id` bigint DEFAULT NULL,
|
|
`merged_unix` bigint DEFAULT NULL,
|
|
`flow` int NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_pull_request_issue_id` (`issue_id`),
|
|
KEY `IDX_pull_request_head_repo_id` (`head_repo_id`),
|
|
KEY `IDX_pull_request_base_repo_id` (`base_repo_id`),
|
|
KEY `IDX_pull_request_has_merged` (`has_merged`),
|
|
KEY `IDX_pull_request_merger_id` (`merger_id`),
|
|
KEY `IDX_pull_request_merged_unix` (`merged_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pull_request`
|
|
--
|
|
|
|
LOCK TABLES `pull_request` WRITE;
|
|
/*!40000 ALTER TABLE `pull_request` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pull_request` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `push_mirror`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `push_mirror`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `push_mirror` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`remote_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`remote_address` varchar(2048) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`sync_on_commit` tinyint(1) NOT NULL DEFAULT '1',
|
|
`interval` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`last_update` bigint DEFAULT NULL,
|
|
`last_error` text COLLATE utf8mb4_0900_as_cs,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_push_mirror_repo_id` (`repo_id`),
|
|
KEY `IDX_push_mirror_last_update` (`last_update`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `push_mirror`
|
|
--
|
|
|
|
LOCK TABLES `push_mirror` WRITE;
|
|
/*!40000 ALTER TABLE `push_mirror` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `push_mirror` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `reaction`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `reaction`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `reaction` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`type` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`issue_id` bigint NOT NULL,
|
|
`comment_id` bigint DEFAULT NULL,
|
|
`user_id` bigint NOT NULL,
|
|
`original_author_id` bigint NOT NULL DEFAULT '0',
|
|
`original_author` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_reaction_s` (`type`,`issue_id`,`comment_id`,`user_id`,`original_author_id`,`original_author`),
|
|
KEY `IDX_reaction_comment_id` (`comment_id`),
|
|
KEY `IDX_reaction_user_id` (`user_id`),
|
|
KEY `IDX_reaction_original_author_id` (`original_author_id`),
|
|
KEY `IDX_reaction_original_author` (`original_author`),
|
|
KEY `IDX_reaction_created_unix` (`created_unix`),
|
|
KEY `IDX_reaction_type` (`type`),
|
|
KEY `IDX_reaction_issue_id` (`issue_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `reaction`
|
|
--
|
|
|
|
LOCK TABLES `reaction` WRITE;
|
|
/*!40000 ALTER TABLE `reaction` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `reaction` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `release`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `release`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `release` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`publisher_id` bigint DEFAULT NULL,
|
|
`tag_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`original_author` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`original_author_id` bigint DEFAULT NULL,
|
|
`lower_tag_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`target` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`title` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`sha1` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`num_commits` bigint DEFAULT NULL,
|
|
`note` text COLLATE utf8mb4_0900_as_cs,
|
|
`is_draft` tinyint(1) NOT NULL DEFAULT '0',
|
|
`is_prerelease` tinyint(1) NOT NULL DEFAULT '0',
|
|
`is_tag` tinyint(1) NOT NULL DEFAULT '0',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_release_n` (`repo_id`,`tag_name`),
|
|
KEY `IDX_release_publisher_id` (`publisher_id`),
|
|
KEY `IDX_release_tag_name` (`tag_name`),
|
|
KEY `IDX_release_original_author_id` (`original_author_id`),
|
|
KEY `IDX_release_sha1` (`sha1`),
|
|
KEY `IDX_release_created_unix` (`created_unix`),
|
|
KEY `IDX_release_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `release`
|
|
--
|
|
|
|
LOCK TABLES `release` WRITE;
|
|
/*!40000 ALTER TABLE `release` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `release` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `renamed_branch`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `renamed_branch`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `renamed_branch` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint NOT NULL,
|
|
`from` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`to` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_renamed_branch_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `renamed_branch`
|
|
--
|
|
|
|
LOCK TABLES `renamed_branch` WRITE;
|
|
/*!40000 ALTER TABLE `renamed_branch` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `renamed_branch` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `repo_archiver`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `repo_archiver`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `repo_archiver` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`type` int DEFAULT NULL,
|
|
`status` int DEFAULT NULL,
|
|
`commit_id` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created_unix` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_repo_archiver_s` (`repo_id`,`type`,`commit_id`),
|
|
KEY `IDX_repo_archiver_repo_id` (`repo_id`),
|
|
KEY `IDX_repo_archiver_created_unix` (`created_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `repo_archiver`
|
|
--
|
|
|
|
LOCK TABLES `repo_archiver` WRITE;
|
|
/*!40000 ALTER TABLE `repo_archiver` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `repo_archiver` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `repo_indexer_status`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `repo_indexer_status`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `repo_indexer_status` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`commit_sha` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`indexer_type` int NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_repo_indexer_status_s` (`repo_id`,`indexer_type`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `repo_indexer_status`
|
|
--
|
|
|
|
LOCK TABLES `repo_indexer_status` WRITE;
|
|
/*!40000 ALTER TABLE `repo_indexer_status` DISABLE KEYS */;
|
|
INSERT INTO `repo_indexer_status` VALUES (1,1,'223253ad6a5751c37a72eb73c4faf49073d19579',1),(2,2,'228f306a89d01a34fda08f945a1233c8b0bf42c3',1);
|
|
/*!40000 ALTER TABLE `repo_indexer_status` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `repo_license`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `repo_license`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `repo_license` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint NOT NULL,
|
|
`commit_id` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`license` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_repo_license_s` (`repo_id`,`license`),
|
|
KEY `IDX_repo_license_created_unix` (`created_unix`),
|
|
KEY `IDX_repo_license_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `repo_license`
|
|
--
|
|
|
|
LOCK TABLES `repo_license` WRITE;
|
|
/*!40000 ALTER TABLE `repo_license` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `repo_license` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `repo_redirect`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `repo_redirect`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `repo_redirect` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`lower_name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`redirect_repo_id` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_repo_redirect_s` (`owner_id`,`lower_name`),
|
|
KEY `IDX_repo_redirect_lower_name` (`lower_name`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `repo_redirect`
|
|
--
|
|
|
|
LOCK TABLES `repo_redirect` WRITE;
|
|
/*!40000 ALTER TABLE `repo_redirect` DISABLE KEYS */;
|
|
INSERT INTO `repo_redirect` VALUES (1,7,'property-management',2);
|
|
/*!40000 ALTER TABLE `repo_redirect` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `repo_topic`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `repo_topic`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `repo_topic` (
|
|
`repo_id` bigint NOT NULL,
|
|
`topic_id` bigint NOT NULL,
|
|
PRIMARY KEY (`repo_id`,`topic_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `repo_topic`
|
|
--
|
|
|
|
LOCK TABLES `repo_topic` WRITE;
|
|
/*!40000 ALTER TABLE `repo_topic` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `repo_topic` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `repo_transfer`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `repo_transfer`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `repo_transfer` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`doer_id` bigint DEFAULT NULL,
|
|
`recipient_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`team_i_ds` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint NOT NULL,
|
|
`updated_unix` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_repo_transfer_created_unix` (`created_unix`),
|
|
KEY `IDX_repo_transfer_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `repo_transfer`
|
|
--
|
|
|
|
LOCK TABLES `repo_transfer` WRITE;
|
|
/*!40000 ALTER TABLE `repo_transfer` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `repo_transfer` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `repo_unit`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `repo_unit`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `repo_unit` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`type` int DEFAULT NULL,
|
|
`config` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`everyone_access_mode` int NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_repo_unit_s` (`repo_id`,`type`),
|
|
KEY `IDX_repo_unit_created_unix` (`created_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `repo_unit`
|
|
--
|
|
|
|
LOCK TABLES `repo_unit` WRITE;
|
|
/*!40000 ALTER TABLE `repo_unit` DISABLE KEYS */;
|
|
INSERT INTO `repo_unit` VALUES (1,1,1,NULL,1747318486,0),(2,1,2,'{\"EnableTimetracker\":true,\"AllowOnlyContributorsToTrackTime\":true,\"EnableDependencies\":true}',1747318486,0),(3,1,3,'{\"IgnoreWhitespaceConflicts\":false,\"AllowMerge\":true,\"AllowRebase\":true,\"AllowRebaseMerge\":true,\"AllowSquash\":true,\"AllowFastForwardOnly\":true,\"AllowManualMerge\":false,\"AutodetectManualMerge\":false,\"AllowRebaseUpdate\":true,\"DefaultDeleteBranchAfterMerge\":false,\"DefaultMergeStyle\":\"merge\",\"DefaultAllowMaintainerEdit\":false}',1747318486,0),(4,1,4,NULL,1747318486,0),(5,1,5,NULL,1747318486,0),(6,1,8,'{\"ProjectsMode\":\"all\"}',1747318486,0),(7,1,9,NULL,1747318486,0),(8,1,10,NULL,1747318486,0),(9,2,1,NULL,1752637190,0),(10,2,2,'{\"EnableTimetracker\":true,\"AllowOnlyContributorsToTrackTime\":true,\"EnableDependencies\":true}',1752637190,0),(11,2,3,'{\"IgnoreWhitespaceConflicts\":false,\"AllowMerge\":true,\"AllowRebase\":true,\"AllowRebaseMerge\":true,\"AllowSquash\":true,\"AllowFastForwardOnly\":true,\"AllowManualMerge\":false,\"AutodetectManualMerge\":false,\"AllowRebaseUpdate\":true,\"DefaultDeleteBranchAfterMerge\":false,\"DefaultMergeStyle\":\"merge\",\"DefaultAllowMaintainerEdit\":false}',1752637190,0),(12,2,4,NULL,1752637190,0),(13,2,5,NULL,1752637190,0),(14,2,8,'{\"ProjectsMode\":\"all\"}',1752637190,0),(15,2,9,NULL,1752637190,0),(16,2,10,NULL,1752637190,0),(17,3,1,NULL,1753210988,0),(18,3,2,'{\"EnableTimetracker\":true,\"AllowOnlyContributorsToTrackTime\":true,\"EnableDependencies\":true}',1753210988,0),(19,3,3,'{\"IgnoreWhitespaceConflicts\":false,\"AllowMerge\":true,\"AllowRebase\":true,\"AllowRebaseMerge\":true,\"AllowSquash\":true,\"AllowFastForwardOnly\":true,\"AllowManualMerge\":false,\"AutodetectManualMerge\":false,\"AllowRebaseUpdate\":true,\"DefaultDeleteBranchAfterMerge\":false,\"DefaultMergeStyle\":\"merge\",\"DefaultAllowMaintainerEdit\":false}',1753210988,0),(20,3,4,NULL,1753210988,0),(21,3,5,NULL,1753210988,0),(22,3,8,'{\"ProjectsMode\":\"all\"}',1753210988,0),(23,3,9,NULL,1753210988,0),(24,3,10,NULL,1753210988,0);
|
|
/*!40000 ALTER TABLE `repo_unit` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `repository`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `repository`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `repository` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`owner_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`lower_name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`description` text COLLATE utf8mb4_0900_as_cs,
|
|
`website` varchar(2048) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`original_service_type` int DEFAULT NULL,
|
|
`original_url` varchar(2048) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`default_branch` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`default_wiki_branch` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`num_watches` int DEFAULT NULL,
|
|
`num_stars` int DEFAULT NULL,
|
|
`num_forks` int DEFAULT NULL,
|
|
`num_issues` int DEFAULT NULL,
|
|
`num_closed_issues` int DEFAULT NULL,
|
|
`num_pulls` int DEFAULT NULL,
|
|
`num_closed_pulls` int DEFAULT NULL,
|
|
`num_milestones` int NOT NULL DEFAULT '0',
|
|
`num_closed_milestones` int NOT NULL DEFAULT '0',
|
|
`num_projects` int NOT NULL DEFAULT '0',
|
|
`num_closed_projects` int NOT NULL DEFAULT '0',
|
|
`num_action_runs` int NOT NULL DEFAULT '0',
|
|
`num_closed_action_runs` int NOT NULL DEFAULT '0',
|
|
`is_private` tinyint(1) DEFAULT NULL,
|
|
`is_empty` tinyint(1) DEFAULT NULL,
|
|
`is_archived` tinyint(1) DEFAULT NULL,
|
|
`is_mirror` tinyint(1) DEFAULT NULL,
|
|
`status` int NOT NULL DEFAULT '0',
|
|
`is_fork` tinyint(1) NOT NULL DEFAULT '0',
|
|
`fork_id` bigint DEFAULT NULL,
|
|
`is_template` tinyint(1) NOT NULL DEFAULT '0',
|
|
`template_id` bigint DEFAULT NULL,
|
|
`size` bigint NOT NULL DEFAULT '0',
|
|
`git_size` bigint NOT NULL DEFAULT '0',
|
|
`lfs_size` bigint NOT NULL DEFAULT '0',
|
|
`is_fsck_enabled` tinyint(1) NOT NULL DEFAULT '1',
|
|
`close_issues_via_commit_in_any_branch` tinyint(1) NOT NULL DEFAULT '0',
|
|
`topics` text COLLATE utf8mb4_0900_as_cs,
|
|
`object_format_name` varchar(6) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT 'sha1',
|
|
`trust_model` int DEFAULT NULL,
|
|
`avatar` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`archived_unix` bigint DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_repository_s` (`owner_id`,`lower_name`),
|
|
KEY `IDX_repository_is_empty` (`is_empty`),
|
|
KEY `IDX_repository_is_archived` (`is_archived`),
|
|
KEY `IDX_repository_updated_unix` (`updated_unix`),
|
|
KEY `IDX_repository_is_private` (`is_private`),
|
|
KEY `IDX_repository_template_id` (`template_id`),
|
|
KEY `IDX_repository_original_service_type` (`original_service_type`),
|
|
KEY `IDX_repository_is_mirror` (`is_mirror`),
|
|
KEY `IDX_repository_fork_id` (`fork_id`),
|
|
KEY `IDX_repository_created_unix` (`created_unix`),
|
|
KEY `IDX_repository_owner_id` (`owner_id`),
|
|
KEY `IDX_repository_lower_name` (`lower_name`),
|
|
KEY `IDX_repository_name` (`name`),
|
|
KEY `IDX_repository_is_fork` (`is_fork`),
|
|
KEY `IDX_repository_is_template` (`is_template`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `repository`
|
|
--
|
|
|
|
LOCK TABLES `repository` WRITE;
|
|
/*!40000 ALTER TABLE `repository` DISABLE KEYS */;
|
|
INSERT INTO `repository` VALUES (1,1,'gitadmin','testrepo','testrepo','','',0,'','main','main',1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,23735,23735,0,1,0,'null','sha1',0,'',1747318486,1747318807,0),(2,2,'SDS','property-management','property-management','','',1,'https://sdsolutions.git.beanstalkapp.com/property-management.git','master','main',7,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,67363361,67363361,0,1,0,'null','sha1',0,'',1752637190,1753086955,0),(3,2,'SDS','container-test','container-test','','',0,'','main','main',6,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,23147,23147,0,1,0,'null','sha1',0,'',1753210988,1753210988,0);
|
|
/*!40000 ALTER TABLE `repository` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `review`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `review`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `review` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`type` int DEFAULT NULL,
|
|
`reviewer_id` bigint DEFAULT NULL,
|
|
`reviewer_team_id` bigint NOT NULL DEFAULT '0',
|
|
`original_author` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`original_author_id` bigint DEFAULT NULL,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`content` text COLLATE utf8mb4_0900_as_cs,
|
|
`official` tinyint(1) NOT NULL DEFAULT '0',
|
|
`commit_id` varchar(64) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`stale` tinyint(1) NOT NULL DEFAULT '0',
|
|
`dismissed` tinyint(1) NOT NULL DEFAULT '0',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_review_reviewer_id` (`reviewer_id`),
|
|
KEY `IDX_review_issue_id` (`issue_id`),
|
|
KEY `IDX_review_created_unix` (`created_unix`),
|
|
KEY `IDX_review_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `review`
|
|
--
|
|
|
|
LOCK TABLES `review` WRITE;
|
|
/*!40000 ALTER TABLE `review` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `review` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `review_state`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `review_state`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `review_state` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint NOT NULL,
|
|
`pull_id` bigint NOT NULL DEFAULT '0',
|
|
`commit_sha` varchar(64) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`updated_files` text COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_review_state_pull_commit_user` (`user_id`,`pull_id`,`commit_sha`),
|
|
KEY `IDX_review_state_pull_id` (`pull_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `review_state`
|
|
--
|
|
|
|
LOCK TABLES `review_state` WRITE;
|
|
/*!40000 ALTER TABLE `review_state` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `review_state` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `secret`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `secret`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `secret` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`owner_id` bigint NOT NULL,
|
|
`repo_id` bigint NOT NULL DEFAULT '0',
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`data` longtext COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_secret_owner_repo_name` (`owner_id`,`repo_id`,`name`),
|
|
KEY `IDX_secret_owner_id` (`owner_id`),
|
|
KEY `IDX_secret_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `secret`
|
|
--
|
|
|
|
LOCK TABLES `secret` WRITE;
|
|
/*!40000 ALTER TABLE `secret` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `secret` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `session`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `session`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `session` (
|
|
`key` char(16) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`data` blob,
|
|
`expiry` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`key`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `session`
|
|
--
|
|
|
|
LOCK TABLES `session` WRITE;
|
|
/*!40000 ALTER TABLE `session` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `session` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `star`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `star`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `star` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uid` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_star_s` (`uid`,`repo_id`),
|
|
KEY `IDX_star_created_unix` (`created_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `star`
|
|
--
|
|
|
|
LOCK TABLES `star` WRITE;
|
|
/*!40000 ALTER TABLE `star` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `star` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `stopwatch`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `stopwatch`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `stopwatch` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_stopwatch_issue_id` (`issue_id`),
|
|
KEY `IDX_stopwatch_user_id` (`user_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `stopwatch`
|
|
--
|
|
|
|
LOCK TABLES `stopwatch` WRITE;
|
|
/*!40000 ALTER TABLE `stopwatch` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `stopwatch` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `system_setting`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `system_setting`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `system_setting` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`setting_key` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`setting_value` text COLLATE utf8mb4_0900_as_cs,
|
|
`version` int DEFAULT NULL,
|
|
`created` bigint DEFAULT NULL,
|
|
`updated` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_system_setting_setting_key` (`setting_key`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `system_setting`
|
|
--
|
|
|
|
LOCK TABLES `system_setting` WRITE;
|
|
/*!40000 ALTER TABLE `system_setting` DISABLE KEYS */;
|
|
INSERT INTO `system_setting` VALUES (1,'revision','',2,1747290580,1747290580),(2,'picture.disable_gravatar','true',1,1747290580,1747290580),(3,'picture.enable_federated_avatar','false',1,1747290580,1747290580);
|
|
/*!40000 ALTER TABLE `system_setting` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `task`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `task`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `task` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`doer_id` bigint DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`type` int DEFAULT NULL,
|
|
`status` int DEFAULT NULL,
|
|
`start_time` bigint DEFAULT NULL,
|
|
`end_time` bigint DEFAULT NULL,
|
|
`payload_content` text COLLATE utf8mb4_0900_as_cs,
|
|
`message` text COLLATE utf8mb4_0900_as_cs,
|
|
`created` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_task_owner_id` (`owner_id`),
|
|
KEY `IDX_task_repo_id` (`repo_id`),
|
|
KEY `IDX_task_status` (`status`),
|
|
KEY `IDX_task_doer_id` (`doer_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `task`
|
|
--
|
|
|
|
LOCK TABLES `task` WRITE;
|
|
/*!40000 ALTER TABLE `task` DISABLE KEYS */;
|
|
INSERT INTO `task` VALUES (1,7,7,2,0,4,1752637191,1752637206,'{\"clone_addr\":\"https://sanitized-credential@sdsolutions.git.beanstalkapp.com/property-management.git\",\"auth_username\":\"resian\",\"uid\":0,\"repo_name\":\"property-management\",\"mirror\":false,\"lfs\":false,\"lfs_endpoint\":\"\",\"private\":false,\"description\":\"\",\"OriginalURL\":\"https://sdsolutions.git.beanstalkapp.com/property-management.git\",\"GitServiceType\":1,\"Wiki\":false,\"Issues\":false,\"Milestones\":false,\"Labels\":false,\"Releases\":false,\"Comments\":false,\"PullRequests\":false,\"ReleaseAssets\":false,\"MigrateToRepoID\":0,\"mirror_interval\":\"\",\"AWSAccessKeyID\":\"\",\"AWSSecretAccessKey\":\"\"}','{\"Format\":\"repo.migrate.migrating_topics\"}',1752637190);
|
|
/*!40000 ALTER TABLE `task` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `team`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `team`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `team` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`org_id` bigint DEFAULT NULL,
|
|
`lower_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`description` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`authorize` int DEFAULT NULL,
|
|
`num_repos` int DEFAULT NULL,
|
|
`num_members` int DEFAULT NULL,
|
|
`includes_all_repositories` tinyint(1) NOT NULL DEFAULT '0',
|
|
`can_create_org_repo` tinyint(1) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_team_org_id` (`org_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `team`
|
|
--
|
|
|
|
LOCK TABLES `team` WRITE;
|
|
/*!40000 ALTER TABLE `team` DISABLE KEYS */;
|
|
INSERT INTO `team` VALUES (1,2,'owners','Owners','',4,2,6,1,1),(2,2,'php-devs','php-devs','',1,1,2,0,0),(3,2,'support-team','support-team','',1,0,1,0,0),(4,13,'owners','Owners','',4,0,3,1,1),(5,2,'dotnet-devs','dotnet-devs','All Dotnet Projects',1,0,4,0,0),(6,13,'pdy-devs','pdy-devs','',1,0,5,0,0),(7,2,'mobile-team','mobile-team','',1,0,1,0,0),(8,2,'ui-team','ui-team','',1,0,2,0,0);
|
|
/*!40000 ALTER TABLE `team` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `team_invite`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `team_invite`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `team_invite` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`token` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT '',
|
|
`inviter_id` bigint NOT NULL DEFAULT '0',
|
|
`org_id` bigint NOT NULL DEFAULT '0',
|
|
`team_id` bigint NOT NULL DEFAULT '0',
|
|
`email` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT '',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_team_invite_team_mail` (`team_id`,`email`),
|
|
KEY `IDX_team_invite_team_id` (`team_id`),
|
|
KEY `IDX_team_invite_created_unix` (`created_unix`),
|
|
KEY `IDX_team_invite_updated_unix` (`updated_unix`),
|
|
KEY `IDX_team_invite_token` (`token`),
|
|
KEY `IDX_team_invite_org_id` (`org_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `team_invite`
|
|
--
|
|
|
|
LOCK TABLES `team_invite` WRITE;
|
|
/*!40000 ALTER TABLE `team_invite` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `team_invite` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `team_repo`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `team_repo`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `team_repo` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`org_id` bigint DEFAULT NULL,
|
|
`team_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_team_repo_s` (`team_id`,`repo_id`),
|
|
KEY `IDX_team_repo_org_id` (`org_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `team_repo`
|
|
--
|
|
|
|
LOCK TABLES `team_repo` WRITE;
|
|
/*!40000 ALTER TABLE `team_repo` DISABLE KEYS */;
|
|
INSERT INTO `team_repo` VALUES (1,2,1,2),(2,2,2,2),(3,2,1,3);
|
|
/*!40000 ALTER TABLE `team_repo` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `team_unit`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `team_unit`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `team_unit` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`org_id` bigint DEFAULT NULL,
|
|
`team_id` bigint DEFAULT NULL,
|
|
`type` int DEFAULT NULL,
|
|
`access_mode` int DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_team_unit_s` (`team_id`,`type`),
|
|
KEY `IDX_team_unit_org_id` (`org_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `team_unit`
|
|
--
|
|
|
|
LOCK TABLES `team_unit` WRITE;
|
|
/*!40000 ALTER TABLE `team_unit` DISABLE KEYS */;
|
|
INSERT INTO `team_unit` VALUES (1,2,1,1,4),(2,2,1,2,4),(3,2,1,3,4),(4,2,1,4,4),(5,2,1,5,4),(6,2,1,6,1),(7,2,1,7,1),(8,2,1,8,4),(9,2,1,9,4),(10,2,1,10,4),(11,2,2,2,1),(12,2,2,3,1),(13,2,2,6,1),(14,2,2,7,1),(15,2,2,8,1),(16,2,2,9,1),(17,2,2,1,1),(18,2,2,4,1),(19,2,2,5,1),(20,2,2,10,1),(21,2,3,10,1),(22,2,3,1,1),(23,2,3,2,1),(24,2,3,6,1),(25,2,3,7,1),(26,2,3,8,1),(27,2,3,9,1),(28,2,3,3,1),(29,2,3,4,1),(30,2,3,5,1),(31,13,4,1,4),(32,13,4,2,4),(33,13,4,3,4),(34,13,4,4,4),(35,13,4,5,4),(36,13,4,6,1),(37,13,4,7,1),(38,13,4,8,4),(39,13,4,9,4),(40,13,4,10,4),(51,2,5,1,2),(52,2,5,4,1),(53,2,5,6,1),(54,2,5,8,1),(55,2,5,10,1),(56,2,5,2,2),(57,2,5,3,2),(58,2,5,5,1),(59,2,5,7,1),(60,2,5,9,1),(61,13,6,7,1),(62,13,6,9,1),(63,13,6,10,1),(64,13,6,1,2),(65,13,6,2,2),(66,13,6,6,1),(67,13,6,8,1),(68,13,6,3,2),(69,13,6,4,1),(70,13,6,5,1),(71,2,7,1,2),(72,2,7,3,2),(73,2,7,4,1),(74,2,7,5,1),(75,2,7,6,1),(76,2,7,7,1),(77,2,7,8,1),(78,2,7,9,1),(79,2,7,10,1),(80,2,7,2,2),(81,2,8,1,2),(82,2,8,2,2),(83,2,8,5,1),(84,2,8,9,1),(85,2,8,10,1),(86,2,8,3,2),(87,2,8,4,1),(88,2,8,6,1),(89,2,8,7,1),(90,2,8,8,1);
|
|
/*!40000 ALTER TABLE `team_unit` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `team_user`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `team_user`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `team_user` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`org_id` bigint DEFAULT NULL,
|
|
`team_id` bigint DEFAULT NULL,
|
|
`uid` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_team_user_s` (`team_id`,`uid`),
|
|
KEY `IDX_team_user_org_id` (`org_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `team_user`
|
|
--
|
|
|
|
LOCK TABLES `team_user` WRITE;
|
|
/*!40000 ALTER TABLE `team_user` DISABLE KEYS */;
|
|
INSERT INTO `team_user` VALUES (1,2,1,1),(2,2,2,5),(3,2,1,5),(4,2,1,7),(5,2,1,6),(7,2,1,9),(8,2,3,12),(9,13,4,7),(10,2,5,11),(12,13,6,14),(13,13,6,21),(14,13,6,17),(15,13,6,18),(16,2,1,12),(17,2,8,17),(18,2,8,19),(19,13,4,12),(20,13,4,5),(21,2,5,23),(22,13,6,23),(23,2,2,8),(24,2,7,22),(25,2,5,15),(26,2,5,20);
|
|
/*!40000 ALTER TABLE `team_user` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `topic`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `topic`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `topic` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(50) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`repo_count` int DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_topic_name` (`name`),
|
|
KEY `IDX_topic_created_unix` (`created_unix`),
|
|
KEY `IDX_topic_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `topic`
|
|
--
|
|
|
|
LOCK TABLES `topic` WRITE;
|
|
/*!40000 ALTER TABLE `topic` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `topic` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `tracked_time`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `tracked_time`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `tracked_time` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`issue_id` bigint DEFAULT NULL,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`time` bigint NOT NULL,
|
|
`deleted` tinyint(1) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_tracked_time_issue_id` (`issue_id`),
|
|
KEY `IDX_tracked_time_user_id` (`user_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `tracked_time`
|
|
--
|
|
|
|
LOCK TABLES `tracked_time` WRITE;
|
|
/*!40000 ALTER TABLE `tracked_time` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `tracked_time` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `two_factor`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `two_factor`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `two_factor` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uid` bigint DEFAULT NULL,
|
|
`secret` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`scratch_salt` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`scratch_hash` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`last_used_passcode` varchar(10) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_two_factor_uid` (`uid`),
|
|
KEY `IDX_two_factor_created_unix` (`created_unix`),
|
|
KEY `IDX_two_factor_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `two_factor`
|
|
--
|
|
|
|
LOCK TABLES `two_factor` WRITE;
|
|
/*!40000 ALTER TABLE `two_factor` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `two_factor` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `upload`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `upload`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `upload` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uuid` varchar(40) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_upload_uuid` (`uuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `upload`
|
|
--
|
|
|
|
LOCK TABLES `upload` WRITE;
|
|
/*!40000 ALTER TABLE `upload` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `upload` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `user`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `user`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `user` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`lower_name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`full_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`email` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`keep_email_private` tinyint(1) DEFAULT NULL,
|
|
`email_notifications_preference` varchar(20) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT 'enabled',
|
|
`passwd` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`passwd_hash_algo` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT 'argon2',
|
|
`must_change_password` tinyint(1) NOT NULL DEFAULT '0',
|
|
`login_type` int DEFAULT NULL,
|
|
`login_source` bigint NOT NULL DEFAULT '0',
|
|
`login_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`type` int DEFAULT NULL,
|
|
`location` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`website` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`rands` varchar(32) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`salt` varchar(32) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`language` varchar(5) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`description` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
`last_login_unix` bigint DEFAULT NULL,
|
|
`last_repo_visibility` tinyint(1) DEFAULT NULL,
|
|
`max_repo_creation` int NOT NULL DEFAULT '-1',
|
|
`is_active` tinyint(1) DEFAULT NULL,
|
|
`is_admin` tinyint(1) DEFAULT NULL,
|
|
`is_restricted` tinyint(1) NOT NULL DEFAULT '0',
|
|
`allow_git_hook` tinyint(1) DEFAULT NULL,
|
|
`allow_import_local` tinyint(1) DEFAULT NULL,
|
|
`allow_create_organization` tinyint(1) DEFAULT '1',
|
|
`prohibit_login` tinyint(1) NOT NULL DEFAULT '0',
|
|
`avatar` varchar(2048) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`avatar_email` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`use_custom_avatar` tinyint(1) DEFAULT NULL,
|
|
`num_followers` int DEFAULT NULL,
|
|
`num_following` int NOT NULL DEFAULT '0',
|
|
`num_stars` int DEFAULT NULL,
|
|
`num_repos` int DEFAULT NULL,
|
|
`num_teams` int DEFAULT NULL,
|
|
`num_members` int DEFAULT NULL,
|
|
`visibility` int NOT NULL DEFAULT '0',
|
|
`repo_admin_change_team_access` tinyint(1) NOT NULL DEFAULT '0',
|
|
`diff_view_style` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT '',
|
|
`theme` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL DEFAULT '',
|
|
`keep_activity_private` tinyint(1) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_user_lower_name` (`lower_name`),
|
|
UNIQUE KEY `UQE_user_name` (`name`),
|
|
KEY `IDX_user_created_unix` (`created_unix`),
|
|
KEY `IDX_user_updated_unix` (`updated_unix`),
|
|
KEY `IDX_user_last_login_unix` (`last_login_unix`),
|
|
KEY `IDX_user_is_active` (`is_active`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `user`
|
|
--
|
|
|
|
LOCK TABLES `user` WRITE;
|
|
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
|
|
INSERT INTO `user` VALUES (1,'gitadmin','gitadmin','','support@sdsolutions.com.ph',0,'enabled','fd854525eb3f506cf84f18b36076adf2c42f8ff1ee067ed7461b06b3778e14ccfe35540394e2d5c625fdbbdfc13a8d2a862c','pbkdf2$50000$50',0,0,0,'',0,'','','cd1e483df078029d35ef002f4e3c2e92','0fee1403883bd36057f06799b493b985','en-US','',1747290581,1753084714,1753084714,0,-1,1,1,0,0,0,1,0,'417aa304b1ca0cc6daf16ecc2f1e85b890f44520fad8b26f844dc2ffe84d2820','support@sdsolutions.com.ph',1,0,0,0,1,0,0,0,0,'','gitea-light',0),(2,'sds','SDS','SD Solutions','dev@sdsolutions.com.ph',0,'','','',0,0,0,'',1,'Pasig, Philippines','https://sdsolutions.com.ph','d3f6585f413128973d0594d6b1645db5','a1ffea58e2432e29e764c0df5dab5afc','','',1747296995,1753210988,0,0,-1,1,0,0,0,0,0,0,'8087188861c2864b721ea0589535dd06e9c4d1d2de14341106290a5c06f19d3d','',1,0,0,0,2,6,14,2,1,'','',0),(5,'eumir','eumir','Eumir Santiago','eumir@sdsolutions.com.ph',0,'enabled','','',0,2,1,'eumir',0,'','','de6666c02aa511ce0e1d7bee8597e9ed','','en-US','',1747325667,1753084676,1753084676,0,-1,1,0,0,0,0,1,0,'b29cc0423eb9015152e86b4d5c2380f4a55096994149fea050c19210f0871459','eumir@sdsolutions.com.ph',1,0,0,0,0,0,0,0,0,'','gitea-auto',0),(6,'jan','jan','Jan Repalda','jan@sdsolutions.com.ph',0,'enabled','','',0,2,1,'jan',0,'','','33962f17bd7e9b1586c704c6c4ee6b7b','','en-US','',1747353600,1753082338,1753082338,0,-1,1,0,0,0,0,1,0,'b7bee366a75874aa0ba985028fbb43a7','jan@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(7,'resian','resian','Resian Romaraog','resian@sdsolutions.com.ph',0,'enabled','','',0,2,1,'resian',0,'','','ddc158b2b167d20c4b063d258914ea62','','en-US','',1747353600,1753162979,1753162979,0,-1,1,0,0,0,0,1,0,'b418bf119ab439426d43a14f63bf2989','resian@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'unified','gitea-auto',0),(8,'dev_june','dev_june','June Alfred Recuerdo','june@sdsolutions.com.ph',0,'enabled','','',0,2,1,'dev_june',0,'','','b1f411d0956b70740643888ca74e7d7e','','en-US','',1747958400,1753173924,1753173924,0,-1,1,0,0,0,0,1,0,'0d8b72a359a1ca2dd14886bc56475063','june@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(9,'sds-florence','sds-florence','Florence Marc Agdon','florence@sdsolutions.com.ph',0,'enabled','','',0,2,1,'sds-florence',0,'','','44b063283839cee4b718dce6806244c7','','','',1748476803,1748803147,0,0,-1,1,0,0,0,0,1,0,'bbec112c54f9424b034b35143a551a8d','florence@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(11,'shaddy','shaddy','Shaddy Balanday','shaddy@sdsolutions.com.ph',0,'enabled','','',0,2,1,'shaddy',0,'','','b4bfe1159c0c378487ee17ed9b339408','','en-US','',1753085001,1753086899,1753086899,0,-1,1,0,0,0,0,1,0,'15ca43bfc237875832302e9f78b3448f','shaddy@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(12,'rochelle','rochelle','Rochelle Retoma','rochelle@sdsolutions.com.ph',0,'enabled','','',0,2,1,'rochelle',0,'','','37fe090e167ed83e03116f15a0889254','','en-US','',1753085304,1753239898,1753239898,0,-1,1,0,0,0,0,1,0,'1cf0825bba9f117936d4996e23ff62a7','rochelle@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(13,'paydayph','PaydayPH','','',0,'','','',0,0,0,'',1,'','','e9dd31a8a7dad1083dc87bdd10069fde','35a363028c58430c7554fd000910baa2','','',1753086051,1753086051,0,0,-1,1,0,0,0,0,0,0,'7833c9655a68c89a1f640b345893629e','',1,0,0,0,0,2,8,0,1,'','',0),(14,'daniel','daniel','Daniel Troy Aromin','daniel@sdsolutions.com.ph',0,'enabled','','',0,2,1,'Daniel',0,'','','40e042846ce646bf92b1e96f37325bd5','','en-US','',1753087567,1753173390,1753173390,0,-1,1,0,0,0,0,1,0,'e17faad392cb31e83b4347444f02688f','daniel@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(15,'philip','philip','Philip Andrew Ferrer','philip@sdsolutions.com.ph',0,'enabled','','',0,2,1,'philip',0,'','','94280739561a9d031bf221f0eea12cde','','en-US','',1753087984,1753087984,1753087984,0,-1,1,0,0,0,0,1,0,'2982446538f99687f603a8c836bdb0ee','philip@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(16,'james','james','James Austin Villar','james@sdsolutions.com.ph',0,'enabled','','',0,2,1,'james',0,'','','c06ad96e4bbf66193569c7be103ca966','','en-US','',1753088293,1753173248,1753173248,0,-1,1,0,0,0,0,1,0,'43c14f464f61abf969b8eeb9443543ed','james@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(17,'johndominic','johndominic','John Dominic Romero','johndominic@sdsolutions.com.ph',0,'enabled','','',0,2,1,'johndominic',0,'','','5220f9a9f0d2c16c17e08ca3a1a35ec8','','en-US','',1753088837,1753162692,1753162692,0,-1,1,0,0,0,0,1,0,'b468b81eada1f5bd4f2c1fce91157584','johndominic@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(18,'jhon','jhon','Jhon Carlo Saguid','jhon@sdsolutions.com.ph',0,'enabled','','',0,2,1,'Jhon',0,'','','7f856b61b63d0a5312cf5d01499e3631','','en-US','',1753088873,1753089268,1753089268,0,-1,1,0,0,0,0,1,0,'f2bf122bb3558d93e9660f8f869d429b','jhon@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(19,'gelo','gelo','Jan Angelo Makiling','gelo@sdsolutions.com.ph',0,'enabled','','',0,2,1,'gelo',0,'','','7881e6d91dea665aa8ec6f4b5cd927ff','','en-US','',1753088947,1753088948,1753088947,0,-1,1,0,0,0,0,1,0,'aef72cd6a52b7f3ad8418d4ca5b2c7e5','gelo@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(20,'sds_devops_roi','sds_DevOps_roi','Roi Anthony Verano','roi@sdsolutions.com.ph',0,'enabled','','',0,2,1,'sds_DevOps_roi',0,'','','6715b48cfb0e42a672bd21cabb0f8415','','en-US','',1753089040,1753089040,1753089040,0,-1,1,0,0,0,0,1,0,'c549d9787a23e00001ea038a4a5d60ae','roi@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(21,'gerald','gerald','Gerald Eugenio','gerald@sdsolutions.com.ph',0,'enabled','','',0,2,1,'gerald',0,'','','7403675a2795baec693ebc1a9def14f0','','en-US','',1753089111,1753089111,1753089111,0,-1,1,0,0,0,0,1,0,'74a31dcd234351dd50e61a52583700c9','gerald@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(22,'keith','keith','Keith Richard Limbo','keith@sdsolutions.com.ph',0,'enabled','','',0,2,1,'keith',0,'','','ff2fe2a79ddd618ff3e3e1fcfdc5880c','','en-US','',1753091243,1753173432,1753173432,0,-1,1,0,0,0,0,1,0,'8723c6edcabfe9bc5b80210dd61e4c31','keith@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(23,'renz','renz','Renz Argie Landicho','renz@sdsolutions.com.ph',0,'enabled','','',0,2,1,'renz',0,'','','c62c139fdef58adc35fb863da1c877d9','','en-US','',1753163263,1753163263,1753163263,0,-1,1,0,0,0,0,1,0,'450feb5619b8e44133ed20a860505de6','renz@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(24,'alvin','alvin','Alvin C. Dreo','alvin@sdsolutions.com.ph',0,'enabled','','',0,2,1,'alvin',0,'','','551fd67688b60d4fa97166863dda4d3e','','en-US','',1753167055,1753167055,1753167055,0,-1,1,0,0,0,0,1,0,'15115a21bcb6812a7b38e7b90363e0b2','alvin@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(25,'anthony','anthony','Anthony Rivera','anthony@sdsolutions.com.ph',0,'enabled','','',0,2,1,'anthony',0,'','','31bffa3cd01ef4c218eec5e130f3661f','','en-US','',1753173267,1753173267,1753173267,0,-1,1,0,0,0,0,1,0,'abcbe5ad44753cba5ce737d70d9d77df','anthony@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(26,'johnny','johnny','Johnny Asumbra','johnny@sdsolutions.com.ph',0,'enabled','','',0,2,1,'johnny',0,'','','e5bf68bd853b4879d23ffc7811c5844e','','en-US','',1753239982,1753239982,1753239982,0,-1,1,0,0,0,0,1,0,'2bea53cd5d1028d929d5823f445fff1d','johnny@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(27,'pm_yaranon','pm_yaranon','Jose Angelo Yaranon','jose@sdsolutions.com.ph',0,'enabled','','',0,2,1,'pm_yaranon',0,'','','85271dbb1b81c1521c18742fd4f8b6a1','','en-US','',1753240046,1753240046,1753240046,0,-1,1,0,0,0,0,1,0,'bf6bc46aa9f00e3a8efe7dbe2065251c','jose@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(28,'dev_kaeresvil','dev_kaeresvil','Kaeresvil Arellano','kaeresvil@sdsolutions.com.ph',0,'enabled','','',0,2,1,'dev_kaeresvil',0,'','','1edfee14b4682e7d9f71af55f75eb428','','en-US','',1753240202,1753240202,1753240202,0,-1,1,0,0,0,0,1,0,'60eb0c2d9e98c65cfd7a66fd7caaf87d','kaeresvil@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(29,'bryan','bryan','Bryan Bernardo','bryan@sdsolutions.com.ph',0,'enabled','','',0,2,1,'bryan',0,'','','665d2908e1eaa11d86e3b401f9dd633e','','en-US','',1753240288,1753240288,1753240288,0,-1,1,0,0,0,0,1,0,'b682321300c5028957b83b6dd9e8cab2','bryan@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(30,'dev_kyle','dev_kyle','Kyle Zen Allen Bialza','kyle@sdsolutions.com.ph',0,'enabled','','',0,2,1,'dev_kyle',0,'','','a10ca87fff9742c5fc970b04893e5fb7','','en-US','',1753240367,1753240367,1753240367,0,-1,1,0,0,0,0,1,0,'321eb00c4fed438b570676109696ca16','kyle@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0),(31,'niel','niel','Niel John Velasco','niel@sdsolutions.com.ph',0,'enabled','','',0,2,1,'Niel',0,'','','e3feaa30206fb17806ab60aece6265ee','','en-US','',1753245607,1753245608,1753245607,0,-1,1,0,0,0,0,1,0,'08ef0a04e6019b8fa6ee652831a0d3c5','niel@sdsolutions.com.ph',0,0,0,0,0,0,0,0,0,'','gitea-auto',0);
|
|
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `user_badge`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `user_badge`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `user_badge` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`badge_id` bigint DEFAULT NULL,
|
|
`user_id` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_user_badge_user_id` (`user_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `user_badge`
|
|
--
|
|
|
|
LOCK TABLES `user_badge` WRITE;
|
|
/*!40000 ALTER TABLE `user_badge` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `user_badge` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `user_blocking`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `user_blocking`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `user_blocking` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`blocker_id` bigint DEFAULT NULL,
|
|
`blockee_id` bigint DEFAULT NULL,
|
|
`note` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_user_blocking_block` (`blocker_id`,`blockee_id`),
|
|
KEY `IDX_user_blocking_created_unix` (`created_unix`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `user_blocking`
|
|
--
|
|
|
|
LOCK TABLES `user_blocking` WRITE;
|
|
/*!40000 ALTER TABLE `user_blocking` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `user_blocking` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `user_open_id`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `user_open_id`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `user_open_id` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`uid` bigint NOT NULL,
|
|
`uri` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`show` tinyint(1) DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_user_open_id_uri` (`uri`),
|
|
KEY `IDX_user_open_id_uid` (`uid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `user_open_id`
|
|
--
|
|
|
|
LOCK TABLES `user_open_id` WRITE;
|
|
/*!40000 ALTER TABLE `user_open_id` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `user_open_id` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `user_redirect`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `user_redirect`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `user_redirect` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`lower_name` varchar(255) COLLATE utf8mb4_0900_as_cs NOT NULL,
|
|
`redirect_user_id` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_user_redirect_s` (`lower_name`),
|
|
KEY `IDX_user_redirect_lower_name` (`lower_name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `user_redirect`
|
|
--
|
|
|
|
LOCK TABLES `user_redirect` WRITE;
|
|
/*!40000 ALTER TABLE `user_redirect` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `user_redirect` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `user_setting`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `user_setting`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `user_setting` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`setting_key` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`setting_value` text COLLATE utf8mb4_0900_as_cs,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_user_setting_key_userid` (`user_id`,`setting_key`),
|
|
KEY `IDX_user_setting_setting_key` (`setting_key`),
|
|
KEY `IDX_user_setting_user_id` (`user_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `user_setting`
|
|
--
|
|
|
|
LOCK TABLES `user_setting` WRITE;
|
|
/*!40000 ALTER TABLE `user_setting` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `user_setting` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `version`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `version`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `version` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`version` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `version`
|
|
--
|
|
|
|
LOCK TABLES `version` WRITE;
|
|
/*!40000 ALTER TABLE `version` DISABLE KEYS */;
|
|
INSERT INTO `version` VALUES (1,312);
|
|
/*!40000 ALTER TABLE `version` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `watch`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `watch`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `watch` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`mode` smallint NOT NULL DEFAULT '1',
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_watch_watch` (`user_id`,`repo_id`),
|
|
KEY `IDX_watch_created_unix` (`created_unix`),
|
|
KEY `IDX_watch_updated_unix` (`updated_unix`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `watch`
|
|
--
|
|
|
|
LOCK TABLES `watch` WRITE;
|
|
/*!40000 ALTER TABLE `watch` DISABLE KEYS */;
|
|
INSERT INTO `watch` VALUES (1,1,1,1,1747318486,1747318486),(2,7,2,1,1752637190,1752637190),(3,1,2,1,1752639161,1752639161),(4,5,2,1,1752639161,1752639161),(5,6,2,1,1753082927,1753082927),(7,9,2,1,1753082937,1753082937),(9,12,2,1,1753089754,1753089754),(10,8,2,1,1753168387,1753168387),(11,1,3,1,1753210988,1753210988),(12,5,3,1,1753210988,1753210988),(13,9,3,1,1753210988,1753210988),(14,6,3,1,1753210988,1753210988),(15,7,3,1,1753210988,1753210988),(16,12,3,1,1753210988,1753210988);
|
|
/*!40000 ALTER TABLE `watch` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `webauthn_credential`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `webauthn_credential`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `webauthn_credential` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`lower_name` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`user_id` bigint DEFAULT NULL,
|
|
`credential_id` varbinary(1024) DEFAULT NULL,
|
|
`public_key` blob,
|
|
`attestation_type` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`aaguid` blob,
|
|
`sign_count` bigint DEFAULT NULL,
|
|
`clone_warning` tinyint(1) DEFAULT NULL,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `UQE_webauthn_credential_s` (`lower_name`,`user_id`),
|
|
KEY `IDX_webauthn_credential_created_unix` (`created_unix`),
|
|
KEY `IDX_webauthn_credential_updated_unix` (`updated_unix`),
|
|
KEY `IDX_webauthn_credential_user_id` (`user_id`),
|
|
KEY `IDX_webauthn_credential_credential_id` (`credential_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `webauthn_credential`
|
|
--
|
|
|
|
LOCK TABLES `webauthn_credential` WRITE;
|
|
/*!40000 ALTER TABLE `webauthn_credential` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `webauthn_credential` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `webhook`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `webhook`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `webhook` (
|
|
`id` bigint NOT NULL AUTO_INCREMENT,
|
|
`repo_id` bigint DEFAULT NULL,
|
|
`owner_id` bigint DEFAULT NULL,
|
|
`is_system_webhook` tinyint(1) DEFAULT NULL,
|
|
`url` text COLLATE utf8mb4_0900_as_cs,
|
|
`http_method` varchar(255) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`content_type` int DEFAULT NULL,
|
|
`secret` text COLLATE utf8mb4_0900_as_cs,
|
|
`events` text COLLATE utf8mb4_0900_as_cs,
|
|
`is_active` tinyint(1) DEFAULT NULL,
|
|
`type` varchar(16) COLLATE utf8mb4_0900_as_cs DEFAULT NULL,
|
|
`meta` text COLLATE utf8mb4_0900_as_cs,
|
|
`last_status` int DEFAULT NULL,
|
|
`header_authorization_encrypted` text COLLATE utf8mb4_0900_as_cs,
|
|
`created_unix` bigint DEFAULT NULL,
|
|
`updated_unix` bigint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `IDX_webhook_owner_id` (`owner_id`),
|
|
KEY `IDX_webhook_is_active` (`is_active`),
|
|
KEY `IDX_webhook_created_unix` (`created_unix`),
|
|
KEY `IDX_webhook_updated_unix` (`updated_unix`),
|
|
KEY `IDX_webhook_repo_id` (`repo_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_as_cs ROW_FORMAT=DYNAMIC;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `webhook`
|
|
--
|
|
|
|
LOCK TABLES `webhook` WRITE;
|
|
/*!40000 ALTER TABLE `webhook` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `webhook` 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-07-23 5:53:51
|