zyjblogs-parent/config/db/mysql/zyjblogs_rbac.sql
2023-04-07 14:41:50 +08:00

161 lines
19 KiB
SQL
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- MySQL dump 10.13 Distrib 8.0.30, for Linux (x86_64)
--
-- Host: 127.0.0.1 Database: zyjblogs_rbac
-- ------------------------------------------------------
-- Server version 8.0.30
/*!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 `oauth_client_details`
--
DROP TABLE IF EXISTS `oauth_client_details`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `oauth_client_details` (
`client_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
`resource_ids` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
`client_secret` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
`scope` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
`authorized_grant_types` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
`web_server_redirect_uri` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
`authorities` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
`access_token_validity` int DEFAULT NULL,
`refresh_token_validity` int DEFAULT NULL,
`additional_information` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`archived` tinyint(1) DEFAULT '0',
`trusted` tinyint(1) DEFAULT '0',
`autoapprove` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT 'false',
PRIMARY KEY (`client_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_client_details`
--
LOCK TABLES `oauth_client_details` WRITE;
/*!40000 ALTER TABLE `oauth_client_details` DISABLE KEYS */;
INSERT INTO `oauth_client_details` (`client_id`, `resource_ids`, `client_secret`, `scope`, `authorized_grant_types`, `web_server_redirect_uri`, `authorities`, `access_token_validity`, `refresh_token_validity`, `additional_information`, `create_time`, `archived`, `trusted`, `autoapprove`) VALUES ('zyjblogs-oauth','zyjblogs-oauth,zyjblogs-rbac','$2a$10$Wk2w4OX5DpFgG3rBuhPnnulCSOIuU3TZhpWjaOq39LZnL.p0LJila','all','authorization_code,password,client_credentials,implicit,refresh_token','http://localhost:9019/',NULL,NULL,NULL,NULL,'2022-08-18 06:14:32',0,0,'false'),('zyjblogs-rbac','zyjblogs-rbac,zyjblogs-oauth','$2a$10$Wk2w4OX5DpFgG3rBuhPnnulCSOIuU3TZhpWjaOq39LZnL.p0LJila','all','authorization_code,password,client_credentials,implicit,refresh_token','http://localhost:9029/',NULL,NULL,NULL,NULL,'2022-08-18 00:34:24',0,0,'false');
/*!40000 ALTER TABLE `oauth_client_details` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `oauth_code`
--
DROP TABLE IF EXISTS `oauth_code`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `oauth_code` (
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`code` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL,
`authentication` blob,
KEY `code_index` (`code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_code`
--
LOCK TABLES `oauth_code` WRITE;
/*!40000 ALTER TABLE `oauth_code` DISABLE KEYS */;
INSERT INTO `oauth_code` (`create_time`, `code`, `authentication`) VALUES ('2022-08-18 01:01:55','AeocBw',_binary '<EFBFBD>\<5C>\0sr\0Aorg.springframework.security.oauth2.provider.OAuth2Authentication<6F>@ bR\0L\0\rstoredRequestt\0<Lorg/springframework/security/oauth2/provider/OAuth2Request;L\0userAuthenticationt\02Lorg/springframework/security/core/Authentication;xr\0Gorg.springframework.security.authentication.AbstractAuthenticationTokenӪ(~nGd\0Z\0\rauthenticatedL\0 authoritiest\0Ljava/util/Collection;L\0detailst\0Ljava/lang/Object;xp\0sr\0&java.util.Collections$UnmodifiableList<73>%1<>\<5C><>\0L\0listt\0Ljava/util/List;xr\0,java.util.Collections$UnmodifiableCollectionB\0<>\<5C>^\<5C>\0L\0cq\0~\0xpsr\0java.util.ArrayListx<74>\<5C><1D>\<5C>a<EFBFBD>\0I\0sizexp\0\0\0\0w\0\0\0\0xq\0~\0 psr\0:org.springframework.security.oauth2.provider.OAuth2Request\0\0\0\0\0\0\0\0Z\0approvedL\0 authoritiesq\0~\0L\0\nextensionst\0Ljava/util/Map;L\0 redirectUrit\0Ljava/lang/String;L\0refresht\0;Lorg/springframework/security/oauth2/provider/TokenRequest;L\0 resourceIdst\0Ljava/util/Set;L\0\rresponseTypesq\0~\0xr\08org.springframework.security.oauth2.provider.BaseRequest6(z><3E>qi<71>\0L\0clientIdq\0~\0L\0requestParametersq\0~\0L\0scopeq\0~\0xpt\0\rzyjblogs-rbacsr\0%java.util.Collections$UnmodifiableMap\<5C><><EFBFBD><EFBFBD>t\<5C>B\0L\0mq\0~\0xpsr\0java.util.HashMap\<5C><>\<5C>`\<5C>\0F\0\nloadFactorI\0 thresholdxp?@\0\0\0\0\0w\0\0\0\0\0\0t\0\rresponse_typet\0codet\0 client_idq\0~\0t\0 redirect_urlt\0https://www.baidu.comt\0scopet\0allxsr\0%java.util.Collections$UnmodifiableSet<65><1D>я<EFBFBD><D18F>U\0\0xq\0~\0 sr\0java.util.LinkedHashSet\<5C>l\<5C>Z<EFBFBD>\<5C>*\0\0xr\0java.util.HashSet<65>D<EFBFBD><44><EFBFBD><EFBFBD><EFBFBD>4\0\0xpw \0\0\0?@\0\0\0\0\0q\0~\0xsq\0~\0#w \0\0\0?@\0\0\0\0\0\0xsq\0~\0?@\0\0\0\0\0\0w\0\0\0\0\0\0\0xt\0http://localhost:9029/psq\0~\0#w \0\0\0?@\0\0\0\0\0t\0\rzyjblogs-rbacxsq\0~\0#w \0\0\0?@\0\0\0\0\0q\0~\0\Zxsr\0Oorg.springframework.security.authentication.UsernamePasswordAuthenticationToken\0\0\0\0\0\0\0L\0 credentialsq\0~\0L\0 principalq\0~\0xq\0~\0sr\0java.util.Collections$EmptyListz<74><17><<3C><>\<5C>\0\0xpsr\0Horg.springframework.security.web.authentication.WebAuthenticationDetails\0\0\0\0\0\0\0L\0\rremoteAddressq\0~\0L\0 sessionIdq\0~\0xpt\0 127.0.0.1t\0 8702DE5790D13DA3689E435D6CA9DAC6psr\01cn.zyjblogs.oauth.server.user.po.OauthUserDetails<6C><73>\<5C>I\<5C>\<5C>Y<EFBFBD>\0Z\0accountNonExpiredZ\0accountNonLockedZ\0credentialsNonExpiredZ\0enabledL\0 authoritiesq\0~\0L\0deletedt\0Ljava/lang/Integer;L\0emailq\0~\0L\0idq\0~\0L\0 inviteUserIdq\0~\0L\0nameq\0~\0L\0passwordq\0~\0L\0phoneq\0~\04L\0statusq\0~\04L\0usernameq\0~\0xppsr\0java.lang.Integer⠤\<5C><><EFBFBD>8\0I\0valuexr\0java.lang.Number<65><72><EFBFBD> <0B>\<5C><>\0\0xp\0\0\0\0pt\01pt\0admint\0<$2a$10$4DlfvZrq7zgKzkbKyg.GHO6yHdGnozcaf3B5JSAC0fNB4k1GhMk6ypq\0~\08t\0admin'),('2022-09-20 14:01:28','ukIZFS',_binary '<EFBFBD>\<5C>\0sr\0Aorg.springframework.security.oauth2.provider.OAuth2Authentication<6F>@ bR\0L\0\rstoredRequestt\0<Lorg/springframework/security/oauth2/provider/OAuth2Request;L\0userAuthenticationt\02Lorg/springframework/security/core/Authentication;xr\0Gorg.springframework.security.authentication.AbstractAuthenticationTokenӪ(~nGd\0Z\0\rauthenticatedL\0 authoritiest\0Ljava/util/Collection;L\0detailst\0Ljava/lang/Object;xp\0sr\0&java.util.Collections$UnmodifiableList<73>%1<>\<5C><>\0L\0listt\0Ljava/util/List;xr\0,java.util.Collections$UnmodifiableCollectionB\0<>\<5C>^\<5C>\0L\0cq\0~\0xpsr\0java.util.ArrayListx<74>\<5C><1D>\<5C>a<EFBFBD>\0I\0sizexp\0\0\0\0w\0\0\0\0xq\0~\0 psr\0:org.springframework.security.oauth2.provider.OAuth2Request\0\0\0\0\0\0\0\0Z\0approvedL\0 authoritiesq\0~\0L\0\nextensionst\0Ljava/util/Map;L\0 redirectUrit\0Ljava/lang/String;L\0refresht\0;Lorg/springframework/security/oauth2/provider/TokenRequest;L\0 resourceIdst\0Ljava/util/Set;L\0\rresponseTypesq\0~\0xr\08org.springframework.security.oauth2.provider.BaseRequest6(z><3E>qi<71>\0L\0clientIdq\0~\0L\0requestParametersq\0~\0L\0scopeq\0~\0xpt\0\rzyjblogs-rbacsr\0%java.util.Collections$UnmodifiableMap\<5C><><EFBFBD><EFBFBD>t\<5C>B\0L\0mq\0~\0xpsr\0java.util.HashMap\<5C><>\<5C>`\<5C>\0F\0\nloadFactorI\0 thresholdxp?@\0\0\0\0\0w\0\0\0\0\0\0t\0\rresponse_typet\0codet\0\rclient_secrett\0secrett\0 client_idq\0~\0t\0 redirect_urlt\0https://www.baidu.comt\0scopet\0allxsr\0%java.util.Collections$UnmodifiableSet<65><1D>я<EFBFBD><D18F>U\0\0xq\0~\0 sr\0java.util.LinkedHashSet\<5C>l\<5C>Z<EFBFBD>\<5C>*\0\0xr\0java.util.HashSet<65>D<EFBFBD><44><EFBFBD><EFBFBD><EFBFBD>4\0\0xpw \0\0\0?@\0\0\0\0\0q\0~\0!xsq\0~\0%w \0\0\0?@\0\0\0\0\0\0xsq\0~\0?@\0\0\0\0\0\0w\0\0\0\0\0\0\0xt\0http://localhost:9029/psq\0~\0%w \0\0\0?@\0\0\0\0\0t\0zyjblogs-oautht\0\rzyjblogs-rbacxsq\0~\0%w \0\0\0?@\0\0\0\0\0q\0~\0\Zxsr\0Oorg.springframework.security.authentication.UsernamePasswordAuthenticationToken\0\0\0\0\0\0\0L\0 credentialsq\0~\0L\0 principalq\0~\0xq\0~\0sq\0~\0sq\0~\0 \0\0\0\0w\0\0\0\0xq\0~\01sr\0Horg.springframework.security.web.authentication.WebAuthenticationDetails\0\0\0\0\0\0\0L\0\rremoteAddressq\0~\0L\0 sessionIdq\0~\0xpt\0 127.0.0.1t\0 6B46F217663FE8A97841CE456FC6F71Cpsr\01cn.zyjblogs.oauth.server.user.po.OauthUserDetails\'<EFBFBD><EFBFBD><EFBFBD>3<EFBFBD><EFBFBD>\0Z\0accountNonExpiredZ\0accountNonLockedZ\0credentialsNonExpiredZ\0enabledL\0 authoritiesq\0~\0L\0deletedt\0Ljava/lang/Integer;L\0emailq\0~\0L\0idq\0~\0L\0 inviteUserIdq\0~\0L\0nameq\0~\0L\0passwordq\0~\0L\0phoneq\0~\0L\0statusq\0~\07L\0tenantIdq\0~\0L\0usernameq\0~\0xppsr\0java.lang.Integer\<EFBFBD><EFBFBD><EFBFBD>8\0I\0valuexr\0java.lang.Number<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>\<EFBFBD><EFBFBD>\0\0xp\0\0\0\0pt\01pt\0admint\0<$2a$10$4DlfvZrq7zgKzkbKyg.GHO6yHdGnozcaf3B5JSAC0fNB4k1GhMk6ypq\0~\0;t\0\0t\0admin'),('2022-09-20 14:01:40','qbpSY7',_binary '<EFBFBD>\<EFBFBD>\0sr\0Aorg.springframework.security.oauth2.provider.OAuth2Authentication<EFBFBD>@ bR\0L\0\rstoredRequestt\0<Lorg/springframework/security/oauth2/provider/OAuth2Request;L\0userAuthenticationt\02Lorg/springframework/security/core/Authentication;xr\0Gorg.springframework.security.authentication.AbstractAuthenticationTokenӪ(~nGd\0Z\0\rauthenticatedL\0 authoritiest\0Ljava/util/Collection;L\0detailst\0Ljava/lang/Object;xp\0sr\0&java.util.Collections$UnmodifiableList<EFBFBD>%1<EFBFBD>\<EFBFBD><EFBFBD>\0L\0listt\0Ljava/util/List;xr\0,java.util.Collections$UnmodifiableCollectionB\0<EFBFBD>\<EFBFBD>^\<EFBFBD>\0L\0cq\0~\0xpsr\0java.util.ArrayListx<EFBFBD>\<EFBFBD><EFBFBD>\<EFBFBD>a<EFBFBD>\0I\0sizexp\0\0\0\0w\0\0\0\0xq\0~\0 psr\0:org.springframework.security.oauth2.provider.OAuth2Request\0\0\0\0\0\0\0\0Z\0approvedL\0 authoritiesq\0~\0L\0\nextensionst\0Ljava/util/Map;L\0 redirectUrit\0Ljava/lang/String;L\0refresht\0;Lorg/springframework/security/oauth2/provider/TokenRequest;L\0 resourceIdst\0Ljava/util/Set;L\0\rresponseTypesq\0~\0xr\08org.springframework.security.oauth2.provider.BaseRequest6(z><EFBFBD>qi<EFBFBD>\0L\0clientIdq\0~\0L\0requestParametersq\0~\0L\0scopeq\0~\0xpt\0\rzyjblogs-rbacsr\0%java.util.Collections$UnmodifiableMap\<EFBFBD><EFBFBD><EFBFBD><EFBFBD>t\<EFBFBD>B\0L\0mq\0~\0xpsr\0java.util.HashMap\<EFBFBD><EFBFBD>\<EFBFBD>`\<EFBFBD>\0F\0\nloadFactorI\0 thresholdxp?@\0\0\0\0\0w\0\0\0\0\0\0t\0\rresponse_typet\0codet\0\rclient_secrett\0secrett\0 client_idq\0~\0t\0 redirect_urlt\0https://www.baidu.comt\0scopet\0allxsr\0%java.util.Collections$UnmodifiableSet<EFBFBD><EFBFBD>я<EFBFBD><EFBFBD>U\0\0xq\0~\0 sr\0java.util.LinkedHashSet\<EFBFBD>l\<EFBFBD>Z<EFBFBD>\<EFBFBD>*\0\0xr\0java.util.HashSet<EFBFBD>D<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>4\0\0xpw \0\0\0?@\0\0\0\0\0q\0~\0!xsq\0~\0%w \0\0\0?@\0\0\0\0\0\0xsq\0~\0?@\0\0\0\0\0\0w\0\0\0\0\0\0\0xt\0http://localhost:9029/psq\0~\0%w \0\0\0?@\0\0\0\0\0t\0zyjblogs-oautht\0\rzyjblogs-rbacxsq\0~\0%w \0\0\0?@\0\0\0\0\0q\0~\0\Zxsr\0Oorg.springframework.security.authentication.UsernamePasswordAuthenticationToken\0\0\0\0\0\0\0L\0 credentialsq\0~\0L\0 principalq\0~\0xq\0~\0sq\0~\0sq\0~\0 \0\0\0\0w\0\0\0\0xq\0~\01sr\0Horg.springframework.security.web.authentication.WebAuthenticationDetails\0\0\0\0\0\0\0L\0\rremoteAddressq\0~\0L\0 sessionIdq\0~\0xpt\0 127.0.0.1t\0 6B46F217663FE8A97841CE456FC6F71Cpsr\01cn.zyjblogs.oauth.server.user.po.OauthUserDetails\'<EFBFBD><05><>3<EFBFBD><33>\0Z\0accountNonExpiredZ\0accountNonLockedZ\0credentialsNonExpiredZ\0enabledL\0 authoritiesq\0~\0L\0deletedt\0Ljava/lang/Integer;L\0emailq\0~\0L\0idq\0~\0L\0 inviteUserIdq\0~\0L\0nameq\0~\0L\0passwordq\0~\0L\0phoneq\0~\0L\0statusq\0~\07L\0tenantIdq\0~\0L\0usernameq\0~\0xppsr\0java.lang.Integer⠤\<5C><><EFBFBD>8\0I\0valuexr\0java.lang.Number<65><72><EFBFBD> <0B>\<5C><>\0\0xp\0\0\0\0pt\01pt\0admint\0<$2a$10$4DlfvZrq7zgKzkbKyg.GHO6yHdGnozcaf3B5JSAC0fNB4k1GhMk6ypq\0~\0;t\0\0t\0admin'),('2022-09-20 14:02:21','1XeJUa',_binary '<EFBFBD>\<5C>\0sr\0Aorg.springframework.security.oauth2.provider.OAuth2Authentication<6F>@ bR\0L\0\rstoredRequestt\0<Lorg/springframework/security/oauth2/provider/OAuth2Request;L\0userAuthenticationt\02Lorg/springframework/security/core/Authentication;xr\0Gorg.springframework.security.authentication.AbstractAuthenticationTokenӪ(~nGd\0Z\0\rauthenticatedL\0 authoritiest\0Ljava/util/Collection;L\0detailst\0Ljava/lang/Object;xp\0sr\0&java.util.Collections$UnmodifiableList<73>%1<>\<5C><>\0L\0listt\0Ljava/util/List;xr\0,java.util.Collections$UnmodifiableCollectionB\0<>\<5C>^\<5C>\0L\0cq\0~\0xpsr\0java.util.ArrayListx<74>\<5C><1D>\<5C>a<EFBFBD>\0I\0sizexp\0\0\0\0w\0\0\0\0xq\0~\0 psr\0:org.springframework.security.oauth2.provider.OAuth2Request\0\0\0\0\0\0\0\0Z\0approvedL\0 authoritiesq\0~\0L\0\nextensionst\0Ljava/util/Map;L\0 redirectUrit\0Ljava/lang/String;L\0refresht\0;Lorg/springframework/security/oauth2/provider/TokenRequest;L\0 resourceIdst\0Ljava/util/Set;L\0\rresponseTypesq\0~\0xr\08org.springframework.security.oauth2.provider.BaseRequest6(z><3E>qi<71>\0L\0clientIdq\0~\0L\0requestParametersq\0~\0L\0scopeq\0~\0xpt\0zyjblogs-oauthsr\0%java.util.Collections$UnmodifiableMap\<5C><><EFBFBD><EFBFBD>t\<5C>B\0L\0mq\0~\0xpsr\0java.util.HashMap\<5C><>\<5C>`\<5C>\0F\0\nloadFactorI\0 thresholdxp?@\0\0\0\0\0w\0\0\0\0\0\0t\0\rresponse_typet\0codet\0\rclient_secrett\0secrett\0 client_idq\0~\0t\0 redirect_urlt\0https://www.baidu.comt\0scopet\0allxsr\0%java.util.Collections$UnmodifiableSet<65><1D>я<EFBFBD><D18F>U\0\0xq\0~\0 sr\0java.util.LinkedHashSet\<5C>l\<5C>Z<EFBFBD>\<5C>*\0\0xr\0java.util.HashSet<65>D<EFBFBD><44><EFBFBD><EFBFBD><EFBFBD>4\0\0xpw \0\0\0?@\0\0\0\0\0q\0~\0!xsq\0~\0%w \0\0\0?@\0\0\0\0\0\0xsq\0~\0?@\0\0\0\0\0\0w\0\0\0\0\0\0\0xt\0http://localhost:9019/psq\0~\0%w \0\0\0?@\0\0\0\0\0t\0zyjblogs-oautht\0\rzyjblogs-rbacxsq\0~\0%w \0\0\0?@\0\0\0\0\0q\0~\0\Zxsr\0Oorg.springframework.security.authentication.UsernamePasswordAuthenticationToken\0\0\0\0\0\0\0L\0 credentialsq\0~\0L\0 principalq\0~\0xq\0~\0sq\0~\0sq\0~\0 \0\0\0\0w\0\0\0\0xq\0~\01sr\0Horg.springframework.security.web.authentication.WebAuthenticationDetails\0\0\0\0\0\0\0L\0\rremoteAddressq\0~\0L\0 sessionIdq\0~\0xpt\0 127.0.0.1t\0 6B46F217663FE8A97841CE456FC6F71Cpsr\01cn.zyjblogs.oauth.server.user.po.OauthUserDetails\'<EFBFBD><EFBFBD><EFBFBD>3<EFBFBD><EFBFBD>\0Z\0accountNonExpiredZ\0accountNonLockedZ\0credentialsNonExpiredZ\0enabledL\0 authoritiesq\0~\0L\0deletedt\0Ljava/lang/Integer;L\0emailq\0~\0L\0idq\0~\0L\0 inviteUserIdq\0~\0L\0nameq\0~\0L\0passwordq\0~\0L\0phoneq\0~\0L\0statusq\0~\07L\0tenantIdq\0~\0L\0usernameq\0~\0xppsr\0java.lang.Integer\<EFBFBD><EFBFBD><EFBFBD>8\0I\0valuexr\0java.lang.Number<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>\<EFBFBD><EFBFBD>\0\0xp\0\0\0\0pt\01pt\0admint\0<$2a$10$4DlfvZrq7zgKzkbKyg.GHO6yHdGnozcaf3B5JSAC0fNB4k1GhMk6ypq\0~\0;t\0\0t\0admin');
/*!40000 ALTER TABLE `oauth_code` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `role`
--
DROP TABLE IF EXISTS `role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `role` (
`id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'id',
`name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '',
`status` int DEFAULT NULL COMMENT ' 1 0',
`deleted` tinyint DEFAULT '0',
`description` varchar(600) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '',
`create_user_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT 'id',
`create_time` timestamp NULL DEFAULT NULL COMMENT '',
`edit_user_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT 'id',
`edit_time` timestamp NULL DEFAULT NULL COMMENT '',
`tenant_id` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `role`
--
LOCK TABLES `role` WRITE;
/*!40000 ALTER TABLE `role` DISABLE KEYS */;
/*!40000 ALTER TABLE `role` 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` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT 'id',
`username` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '',
`name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '',
`age` int DEFAULT NULL COMMENT '',
`avatar` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '',
`password` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '',
`phone` char(11) DEFAULT NULL COMMENT '',
`email` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '',
`invite_user_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT 'id',
`status` int DEFAULT NULL COMMENT ' 1 0',
`follow_num` int DEFAULT NULL COMMENT '',
`fans_num` int DEFAULT NULL COMMENT '',
`deleted` tinyint DEFAULT '0',
`description` varchar(600) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '',
`create_user_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT 'id',
`create_time` timestamp NULL DEFAULT NULL COMMENT '',
`edit_user_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT 'id',
`edit_time` timestamp NULL DEFAULT NULL COMMENT '',
`tenant_id` varchar(100) DEFAULT '',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `username` (`username`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 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` (`id`, `username`, `name`, `age`, `avatar`, `password`, `phone`, `email`, `invite_user_id`, `status`, `follow_num`, `fans_num`, `deleted`, `description`, `create_user_id`, `create_time`, `edit_user_id`, `edit_time`, `tenant_id`) VALUES ('1','admin','admin',1,NULL,'$2a$10$4DlfvZrq7zgKzkbKyg.GHO6yHdGnozcaf3B5JSAC0fNB4k1GhMk6y',NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,'');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2022-09-21 13:16:39