528 lines
58 KiB
SQL
528 lines
58 KiB
SQL
/*
|
||
Navicat Premium Data Transfer
|
||
|
||
Source Server : kenaito-mysql.odboy.local
|
||
Source Server Type : MySQL
|
||
Source Server Version : 80025
|
||
Source Host : kenaito-mysql.odboy.local:13306
|
||
Source Schema : kenaito_config
|
||
|
||
Target Server Type : MySQL
|
||
Target Server Version : 80025
|
||
File Encoding : 65001
|
||
|
||
Date: 05/12/2024 19:35:22
|
||
*/
|
||
|
||
SET NAMES utf8mb4;
|
||
SET FOREIGN_KEY_CHECKS = 0;
|
||
|
||
-- ----------------------------
|
||
-- Table structure for config_app
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `config_app`;
|
||
CREATE TABLE `config_app` (
|
||
`id` bigint(0) NOT NULL AUTO_INCREMENT,
|
||
`app_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '应用名称',
|
||
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '应用描述',
|
||
PRIMARY KEY (`id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '配置应用' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of config_app
|
||
-- ----------------------------
|
||
INSERT INTO `config_app` VALUES (1, 'kenaito-config-demo', '测试应用');
|
||
|
||
-- ----------------------------
|
||
-- Table structure for config_file
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `config_file`;
|
||
CREATE TABLE `config_file` (
|
||
`id` bigint(0) NOT NULL AUTO_INCREMENT,
|
||
`app_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
`env` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
`filename` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '例如: application-daily.properties',
|
||
`version` bigint(0) NOT NULL DEFAULT 1 COMMENT '当前配置内容版本',
|
||
PRIMARY KEY (`id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '配置文件' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of config_file
|
||
-- ----------------------------
|
||
INSERT INTO `config_file` VALUES (1, 'kenaito-config-demo', 'daily', 'application-daily.yml', 1);
|
||
|
||
-- ----------------------------
|
||
-- Table structure for config_version
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `config_version`;
|
||
CREATE TABLE `config_version` (
|
||
`file_id` bigint(0) NOT NULL,
|
||
`file_content` longblob NULL,
|
||
PRIMARY KEY (`file_id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '配置内容版本' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of config_version
|
||
-- ----------------------------
|
||
INSERT INTO `config_version` VALUES (1, 0x7365727665723A0D0A2020706F72743A2032383030300D0A202068747470323A0D0A202020202320CCE1B8DFCDF8C2E7B4ABCAE4D0A7C2CA2C20C4ACC8CFCEAA66616C73650D0A20202020656E61626C65643A20747275650D0A2020756E646572746F773A0D0A20202020746872656164733A0D0A2020202020202320B9A4D7F7CFDFB3CCCAFDA3ACC4ACC8CFC9E8D6C3CEAA696F2D74687265616473202A2038A1A3C8E7B9FBC4E3B5C4D3A6D3C3B3CCD0F2D3D0BADCB6E0CDACB2BDD7E8C8FBB2D9D7F7A3ACBFC9D2D4CACAB5B1D4F6BCD3D5E2B8F6D6B50D0A202020202020776F726B65723A2031360D0A2020202020202320C9E8D6C3494FCFDFB3CCCAFD2C20CBFCD6F7D2AAD6B4D0D0B7C7D7E8C8FBB5C4C8CECEF12CCBFCC3C7BBE1B8BAD4F0B6E0B8F6C1ACBDD32C20C4ACC8CFC9E8D6C3C3BFB8F6435055BACBD0C4D2BBB8F6CFDFB3CC0D0A2020202020202320D7E8C8FBC8CECEF1CFDFB3CCB3D82C20B5B1D6B4D0D0C0E0CBC6736572766C6574C7EBC7F3D7E8C8FBB2D9D7F72C20756E646572746F77BBE1B4D3D5E2B8F6CFDFB3CCB3D8D6D0C8A1B5C3CFDFB3CC2CCBFCB5C4D6B5C9E8D6C3C8A1BEF6D3DACFB5CDB3B5C4B8BAD4D80D0A202020202020696F3A20320D0A202020202320C9E8D6C3CEAA74727565D2D4CAB9D3C3D6B1BDD3C4DAB4E6A3A8B6D1CDE2C4DAB4E6A3A9C0B4B4E6B4A2BBBAB3E5C7F8A1A3D5E2BFC9D2D4BCF5C9D9C0ACBBF8BBD8CAD5B5C4BFAACFFAA1A30D0A202020206469726563742D627566666572733A20747275650D0A202020202320D2D4CFC2B5C4C5E4D6C3BBE1D3B0CFEC6275666665722CD5E2D0A9627566666572BBE1D3C3D3DAB7FECEF1C6F7C1ACBDD3B5C4494FB2D9D7F72CD3D0B5E3C0E0CBC66E65747479B5C4B3D8BBAFC4DAB4E6B9DCC0ED0D0A202020202320C3BFBFE9627566666572B5C4BFD5BCE4B4F3D0A12CD4BDD0A1B5C4BFD5BCE4B1BBC0FBD3C3D4BDB3E4B7D60D0A202020206275666665722D73697A653A20313032340D0A202020206163636573736C6F673A0D0A2020202020202320B9D8B1D5C8D5D6BE0D0A202020202020656E61626C65643A2066616C73650D0A2020636F6D7072657373696F6E3A0D0A202020202320CAC7B7F1BFAAC6F4D1B9CBF50D0A20202020656E61626C65643A20747275650D0A202020206D696D652D74797065733A20746578742F68746D6C2C746578742F786D6C2C746578742F706C61696E2C746578742F6373732C746578742F6A6176617363726970742C6170706C69636174696F6E2F6A6176617363726970742C6170706C69636174696F6E2F6A736F6E0D0A20202320C6F4D3C3D3C5D1C5CDA3BBFAA3ACB2A2D7F1CAD8737072696E672E6C6966656379636C652E74696D656F75742D7065722D73687574646F776E2D7068617365CAF4D0D4D6D0B8F8B3F6B5C4B3ACCAB10D0A20202320475241434546554C2028D3C5D1C5293A20B5B1D3A6D3C3B3CCD0F2D2D422475241434546554C22C4A3CABDB9D8B1D5CAB1A3ACCBFCB2BBBBE1BDD3CADCD0C2B5C4C7EBC7F3C7D2BBE1B3A2CAD4CDEAB3C9CBF9D3D0D5FDD4DABDF8D0D0B5C4C7EBC7F3BACDB4A6C0EDA3ACC8BBBAF3B2C5BBE1D6D5D6B9A1A3D5E2D6D6B7BDCABDCACAD3C3D3DAC4C7D0A9BFC9C4DCD0E8D2AAD2BBD0A9CAB1BCE4C0B4C7E5C0EDD7CAD4B4BBF2CDEAB3C9D5FDD4DABDF8D0D0B5C4C8CECEF1B5C4B3A1BEB0A1A30D0A20202320494D4D45444941544528C1A2BCB4293A20B5B1D3A6D3C3B3CCD0F2D2D422494D4D45444941544522C4A3CABDB9D8B1D5CAB1A3ACCBFCBBE1C1A2BCB4D6D5D6B9A3ACB6F8B2BBB9DCB5B1C7B0CAC7B7F1D3D0C8CEBACEBBEEB6AFC8CECEF1BBF2C7EBC7F3A1A3D5E2D6D6B7BDCABDCACAD3C3D3DAC4C7D0A9BFC9D2D4C1A2BCB4CDA3D6B9B6F8B2BBBBE1D4ECB3C9D1CFD6D8CECACCE2B5C4C7E9BFF6A1A30D0A202073687574646F776E3A20677261636566756C0D0A6D7962617469732D706C75733A0D0A2020636F6E66696775726174696F6E3A0D0A202020202320BFAAC6F4204D79626174697320B6FEBCB6BBBAB4E6A3ACC4ACC8CFCEAA20747275650D0A2020202063616368652D656E61626C65643A2066616C73650D0A202020202320C9E8D6C3B1BEB5D8BBBAB4E6D7F7D3C3D3F22C204D79626174697320D2BBBCB6BBBAB4E62C20C4ACC8CFCEAA2053455353494F4E0D0A202020202320CDACD2BBB8F62073657373696F6E20CFE0CDACB2E9D1AFD3EFBEE4B2BBBBE1D4D9B4CEB2E9D1AFCAFDBEDDBFE20D0A202020202320CEA2B7FECEF1D6D02C20BDA8D2E9C9E8D6C3CEAA53544154454D454E542C20BCB4B9D8B1D5D2BBBCB6BBBAB4E60D0A202020206C6F63616C2D63616368652D73636F70653A2053544154454D454E540D0A202020202320CAC7B7F1BFAAC6F4D7D4B6AFCDD5B7E5C3FCC3FBB9E6D4F2A3A863616D656C2063617365A3A9D3B3C9E42C20BCB4B4D3BEADB5E4CAFDBEDDBFE2C1D0C3FB20415F434F4C554D4EA3A8CFC2BBAECFDFC3FCC3FBA3A920B5BDBEADB5E4204A61766120CAF4D0D4C3FB2061436F6C756D6EA3A8CDD5B7E5C3FCC3FBA3A920B5C4C0E0CBC6D3B3C9E40D0A202020206D61702D756E64657273636F72652D746F2D63616D656C2D636173653A20747275650D0A20202020232053716CC8D5D6BE0D0A202020206C6F672D696D706C3A206F72672E6170616368652E6962617469732E6C6F6767696E672E7374646F75742E5374644F7574496D706C0D0A20202320C6F4B6AFCAB1CAC7B7F1BCECB2E9204D79426174697320584D4C20CEC4BCFEB5C4B4E6D4DA2C20C4ACC8CFB2BBBCECB2E90D0A2020636865636B2D636F6E6669672D6C6F636174696F6E3A20747275650D0A202023204D794261746973204D617070657220CBF9B6D4D3A6B5C420584D4C20CEC4BCFECEBBD6C30D0A202023204D6176656E20B6E0C4A3BFE9CFEEC4BFB5C4C9A8C3E8C2B7BEB6D0E8D2D420636C617373706174682A3A20BFAACDB720A3A8BCB4BCD3D4D8B6E0B8F6206A617220B0FCCFC2B5C420584D4C20CEC4BCFEA3A90D0A20206D61707065722D6C6F636174696F6E733A20636C617373706174682A3A2F6D61707065722F2A2A2F2A2E786D6C0D0A202023204D7942617469732D506C757320C8ABBED6B2DFC2D4D6D0B5C420444220B2DFC2D4C5E4D6C30D0A2020676C6F62616C2D636F6E6669673A0D0A2020202064622D636F6E6669673A0D0A2020202020202320C2DFBCADD2D1C9BEB3FDD6B528C2DFBCADC9BEB3FDCFC2D3D0D0A7290D0A2020202020206C6F6769632D64656C6574652D76616C75653A20300D0A2020202020202320C2DFBCADCEB4C9BEB3FDD6B528C2DFBCADC9BEB3FDCFC2D3D0D0A7290D0A2020202020206C6F6769632D6E6F742D64656C6574652D76616C75653A20310D0A2020202020202320C8ABBED6C4ACC8CFD6F7BCFCC0E0D0CD2C20D5E2C0EFCEAAD7D4D4F6D6F7BCFC0D0A20202020202069642D747970653A206175746F0D0A2020202020202320B1EDC3FBCAC7B7F1CAB9D3C3CDD5B7E5D7AACFC2BBAECFDFC3FCC3FB2CD6BBB6D4B1EDC3FBC9FAD0A70D0A2020202020207461626C652D756E6465726C696E653A20747275650D0A202020202320CAC7B7F1BFD8D6C6CCA8207072696E74206D7962617469732D706C757320B5C4204C4F474F0D0A2020202062616E6E65723A20747275650D0A737072696E673A0D0A2020667265656D61726B65723A0D0A202020202320CAC7B7F1BCECB2E9C4A3B0E5CEBBD6C3CAC7B7F1B4E6D4DA0D0A20202020636865636B2D74656D706C6174652D6C6F636174696F6E3A2066616C73650D0A202020202320C4A3B0E5B1E0C2EB0D0A20202020636861727365743A207574662D380D0A2020646174613A0D0A2020202072656469733A0D0A2020202020207265706F7369746F726965733A0D0A20202020202020202320CAC7B7F1C6F4D3C35265646973B4E6B4A228B9D8B1D5B7C0D6B9B3F6CFD6204D756C7469706C6520537072696E672044617461206D6F64756C657320666F756E642C20656E746572696E6720737472696374207265706F7369746F727920636F6E66696775726174696F6E206D6F6465290D0A2020202020202020656E61626C65643A2066616C73650D0A20206C6966656379636C653A0D0A202020202320B2C9D3C36A6176612E74696D652E4475726174696F6EB8F1CABDB5C4D6B52CC8E7B9FBD4DAD5E2B8F6CAB1BCE4C4DAA3ACD3C5D1C5CDA3BBFAC3BBD3D0CDA3B5F4D3A6D3C3A3ACB3ACB9FDD5E2B8F6CAB1BCE4BECDBBE1C7BFD6C6CDA3D6B9D3A6D3C30D0A2020202074696D656F75742D7065722D73687574646F776E2D70686173653A203330730D0A20202320D3CABCFEC9E8D6C30D0A20206D61696C3A0D0A20202020686F73743A20736D74702E71712E636F6D0D0A20202020706F72743A203436350D0A20202020757365726E616D653A207469616E6A756E406F64626F792E636E0D0A202020202320D3CACFE4CADAC8A8C2EB0D0A202020202320C8E7BACEBBF1C8A15151D3CACFE4CADAC8A8C2EB3F0D0A20202020232068747470733A2F2F736572766963652E6D61696C2E71712E636F6D2F6367692D62696E2F68656C703F737562747970653D3126266E6F3D31303031323536262669643D32380D0A2020202070617373776F72643A207878787878787878787878780D0A2020202064656661756C742D656E636F64696E673A205554462D380D0A2020202070726F706572746965733A0D0A2020202020206D61696C3A0D0A2020202020202020736D74703A0D0A2020202020202020202073736C3A0D0A20202020202020202020202074727573743A20736D74702E71712E636F6D0D0A20202020202020202020736F636B6574466163746F72793A0D0A202020202020202020202020636C6173733A206A617661782E6E65742E73736C2E53534C536F636B6574466163746F72790D0A202020202020202020202020706F72743A203436350D0A20202020202020202020617574683A20747275650D0A202020202020202020207374617274746C733A0D0A202020202020202020202020656E61626C653A20747275650D0A20202020202020202020202072657175697265643A20747275650D0A20202320C5E4D6C3CAFDBEDDD4B40D0A202064617461736F757263653A0D0A20202020232068747470733A2F2F7777772E636E626C6F67732E636F6D2F6875616E7368696C616E672F702F31373837383934382E68746D6C0D0A2020202064727569643A0D0A20202020202064622D747970653A20636F6D2E616C69626162612E64727569642E706F6F6C2E447275696444617461536F757263650D0A2020202020202320647269766572436C6173734E616D653A20636F6D2E6D7973716C2E636A2E6A6462632E44726976657220202023206D7973716C3820B5C4C1ACBDD3C7FDB6AF0D0A202020202020647269766572436C6173734E616D653A206E65742E73662E6C6F67346A6462632E73716C2E6A6462636170692E4472697665725370790D0A20202020202075726C3A206A6462633A6C6F67346A6462633A6D7973716C3A2F2F247B44425F484F53543A6B656E6169746F2D6D7973716C2E6F64626F792E6C6F63616C7D3A247B44425F504F52543A31333330367D2F247B44425F4E414D453A6B656E6169746F5F636F6E6669677D3F73657276657254696D657A6F6E653D417369612F5368616E6768616926636861726163746572456E636F64696E673D757466382675736553534C3D66616C736526616C6C6F775075626C69634B657952657472696576616C3D747275650D0A202020202020757365726E616D653A20247B44425F555345523A726F6F747D0D0A20202020202070617373776F72643A20247B44425F5057443A726F6F747D0D0A202020202020696E697469616C2D73697A653A203520202320B3F5CABCC1ACBDD3CAFD0D0A2020202020206D696E2D69646C653A203135202320D7EED0A1C1ACBDD3CAFD0D0A2020202020206D61782D6163746976653A20333020202320D7EEB4F3C1ACBDD3CAFD0D0A20202020202072656D6F76652D6162616E646F6E65642D74696D656F75743A2031383020202320B3ACCAB1CAB1BCE428D2D4C3EBCAFDCEAAB5A5CEBB290D0A2020202020206D61782D776169743A2033303030202320C5E4D6C3BCE4B8F4B6E0BEC3B2C5BDF8D0D0D2BBB4CEBCECB2E2A3ACBCECB2E2D0E8D2AAB9D8B1D5B5C4BFD5CFD0C1ACBDD3A3ACB5A5CEBBCAC7BAC1C3EB0D0A20202020202074696D652D6265747765656E2D6576696374696F6E2D72756E732D6D696C6C69733A203630303030202320C5E4D6C3D2BBB8F6C1ACBDD3D4DAB3D8D6D0D7EED0A1C9FAB4E6B5C4CAB1BCE4A3ACB5A5CEBBCAC7BAC1C3EB0D0A2020202020206D696E2D657669637461626C652D69646C652D74696D652D6D696C6C69733A20333030303030202320C1ACBDD3D4DAB3D8D6D0D7EED0A1C9FAB4E6B5C4CAB1BCE40D0A2020202020206D61782D657669637461626C652D69646C652D74696D652D6D696C6C69733A2039303030303020202320C1ACBDD3D4DAB3D8D6D0D7EEB4F3C9FAB4E6B5C4CAB1BCE40D0A202020202020746573742D7768696C652D69646C653A2074727565202320C8E7B9FBCEAA74727565A3ACC4ACC8CFCAC766616C7365A3ACD3A6D3C3CFF2C1ACBDD3B3D8C9EAC7EBC1ACBDD3CAB1A3ACC1ACBDD3B3D8BBE1C5D0B6CFD5E2CCF5C1ACBDD3CAC7B7F1CAC7BFC9D3C3B5C40D0A202020202020746573742D6F6E2D626F72726F773A2066616C7365202320C8E7B9FBCEAA74727565A3A8C4ACC8CF66616C7365A3A9A3ACB5B1D3A6D3C3CAB9D3C3CDEAC1ACBDD3A3ACC1ACBDD3B3D8BBD8CAD5C1ACBDD3B5C4CAB1BAF2BBE1C5D0B6CFB8C3C1ACBDD3CAC7B7F1BBB9BFC9D3C30D0A202020202020746573742D6F6E2D72657475726E3A2066616C7365202320CAC7B7F1BBBAB4E6707265706172656453746174656D656E74A3ACD2B2BECDCAC750534361636865A1A350534361636865B6D4D6A7B3D6D3CEB1EAB5C4CAFDBEDDBFE2D0D4C4DCCCE1C9FDBEDEB4F3A3ACB1C8C8E7CBB56F7261636C650D0A20202020202076616C69646174696F6E2D71756572793A2073656C65637420312023202320D3A6D3C3CFF2C1ACBDD3B3D8C9EAC7EBC1ACBDD3A3ACB2A2C7D2746573744F6E426F72726F77CEAA66616C7365CAB1A3ACC1ACBDD3B3D8BDABBBE1C5D0B6CFC1ACBDD3CAC7B7F1B4A6D3DABFD5CFD0D7B4CCACA3ACC8E7B9FBCAC7A3ACD4F2D1E9D6A4D5E2CCF5C1ACBDD3CAC7B7F1BFC9D3C30D0A2020202020202323232323232323232320C5E4D6C35765625374617446696C746572A3ACD3C3D3DAB2C9BCAF776562B9D8C1AABCE0BFD8B5C4CAFDBEDD20232323232323232323230D0A2020202020207765622D737461742D66696C7465723A0D0A2020202020202020656E61626C65643A2074727565202020202020202020202020202020202020202320C6F4B6AF205374617446696C7465720D0A202020202020202075726C2D7061747465726E3A202F2A20202020202020202020202020202020202320B9FDC2CBCBF9D3D075726C0D0A20202020202020206578636C7573696F6E733A20222A2E6A732C2A2E6769662C2A2E6A70672C2A2E706E672C2A2E6373732C2A2E69636F2C2F64727569642F2A22202320C5C5B3FDD2BBD0A9B2BBB1D8D2AAB5C475726C0D0A202020202020202073657373696F6E2D737461742D656E61626C653A2074727565202020202020202320BFAAC6F473657373696F6ECDB3BCC6B9A6C4DC0D0A202020202020202073657373696F6E2D737461742D6D61782D636F756E743A203130303020202020232073657373696F6EB5C4D7EEB4F3B8F6CAFD2CC4ACC8CF3130300D0A2020202020202323232323232323232320C5E4D6C35374617456696577536572766C6574A3A8BCE0BFD8D2B3C3E6A3A9A3ACD3C3D3DAD5B9CABE4472756964B5C4CDB3BCC6D0C5CFA220232323232323232323230D0A202020202020737461742D766965772D736572766C65743A0D0A2020202020202020656E61626C65643A2074727565202020202020202020202020202020202020202320C6F4D3C35374617456696577536572766C65740D0A202020202020202075726C2D7061747465726E3A202F64727569642F2A20202020202020202020202320B7C3CECAC4DAD6C3BCE0BFD8D2B3C3E6B5C4C2B7BEB6A3ACC4DAD6C3BCE0BFD8D2B3C3E6B5C4CAD7D2B3CAC72F64727569642F696E6465782E68746D6C0D0A202020202020202072657365742D656E61626C653A2066616C7365202020202020202020202020202320B2BBD4CAD0EDC7E5BFD5CDB3BCC6CAFDBEDD2CD6D8D0C2BCC6CBE30D0A2020202020202020616C6C6F773A203132372E302E302E31202020202020202020202020202020202320D4CAD0EDB7C3CECAB5C4B5D8D6B7A3ACC8E7B9FB616C6C6F77C3BBD3D0C5E4D6C3BBF2D5DFCEAABFD5A3ACD4F2D4CAD0EDCBF9D3D0B7C3CECA0D0A202020202020202064656E793A2020202020202020202020202020202020202020202020202020202320BEDCBEF8B7C3CECAB5C4B5D8D6B7A3AC64656E79D3C5CFC8D3DA616C6C6F77A3ACC8E7B9FBD4DA64656E79C1D0B1EDD6D0A3ACBECDCBE3D4DA616C6C6F77C1D0B1EDD6D0A3ACD2B2BBE1B1BBBEDCBEF80D0A2020202020202320C5E4D6C3BCE0BFD8CDB3BCC6C0B9BDD8B5C466696C7465720D0A20202020202066696C7465723A0D0A20202020202020202320BFAAC6F4447275696444617461736F75726365B5C4D7B4CCACBCE0BFD80D0A2020202020202020737461743A0D0A20202020202020202020656E61626C65643A20747275650D0A202020202020202020202320BFAAC6F4C2FD73716CBCE0BFD8A3ACB3ACB9FD327320BECDC8CFCEAACAC7C2FD73716CA3ACBCC7C2BCB5BDC8D5D6BED6D00D0A202020202020202020206C6F672D736C6F772D73716C3A20747275650D0A20202020202020202020736C6F772D73716C2D6D696C6C69733A20323030300D0A202020202020202020206D657267652D73716C3A20747275650D0A202020202020202077616C6C3A0D0A20202020202020202020636F6E6669673A0D0A2020202020202020202020206D756C74692D73746174656D656E742D616C6C6F773A20747275650D0A2020202020202020736C66346A3A0D0A20202020202020202020656E61626C65643A20747275650D0A2020202020202020202073746174656D656E742D6C6F672D6572726F722D656E61626C65643A20747275650D0A2020202020202020202073746174656D656E742D6372656174652D61667465722D6C6F672D656E61626C65643A2066616C73650D0A2020202020202020202073746174656D656E742D636C6F73652D61667465722D6C6F672D656E61626C65643A2066616C73650D0A20202020202020202020726573756C742D7365742D6F70656E2D61667465722D6C6F672D656E61626C65643A2066616C73650D0A20202020202020202020726573756C742D7365742D636C6F73652D61667465722D6C6F672D656E61626C65643A2066616C73650D0A2020202020202320537072696E6720BCE0BFD8A3ACC0FBD3C3616F7020B6D4D6B8B6A8BDD3BFDAB5C4D6B4D0D0CAB1BCE4A3AC6A646263CAFDBDF8D0D0BCC7C2BC0D0A202020202020232068747470733A2F2F626C6F672E6373646E2E6E65742F77656978696E5F33393635313335362F61727469636C652F64657461696C732F3132383136383239300D0A202020202020616F702D7061747465726E733A2022636E2E6F64626F792E6D61707065722E2A2C636E2E6F64626F792E6D6F64756C65732E2A2E6D61707065722E2A220D0A2020202020206B6565702D616C6976653A20747275650D0A2020202020206D61782D6F70656E2D70726570617265642D73746174656D656E74733A203230202320C1ACBDD3B3D8D6D0B5C46D696E49646C65CAFDC1BFD2D4C4DAB5C4C1ACBDD3A3ACBFD5CFD0CAB1BCE4B3ACB9FD6D696E457669637461626C6549646C6554696D654D696C6C6973A3ACD4F2BBE1D6B4D0D06B656570416C697665B2D9D7F70D0A202020202020706F6F6C2D70726570617265642D73746174656D656E74733A2074727565202320D2AAC6F4D3C350534361636865A3AC6D61782D6F70656E2D70726570617265642D73746174656D656E7473B1D8D0EBC5E4D6C3B4F3D3DA30A3ACB5B1B4F3D3DA30CAB1A3AC20706F6F6C507265706172656453746174656D656E7473D7D4B6AFB4A5B7A2D0DEB8C4CEAA747275650D0A202072656469733A0D0A2020202023CAFDBEDDBFE2CBF7D2FD0D0A2020202064617461626173653A20247B52454449535F44423A327D0D0A20202020686F73743A20247B52454449535F484F53543A6B656E6169746F2D72656469732E6F64626F792E6C6F63616C7D0D0A20202020706F72743A20247B52454449535F504F52543A31363337397D0D0A2020202070617373776F72643A20247B52454449535F5057443A3132333435367D0D0A2020202023C1ACBDD3B3ACCAB1CAB1BCE40D0A2020202074696D656F75743A20353030300D0A202020206C6574747563653A0D0A202020202020706F6F6C3A0D0A2020202020202020656E61626C65643A20747275650D0A20202020202020206D61782D6163746976653A2032300D0A20202020202020206D696E2D69646C653A20300D0A20202020202020206D61782D776169743A20353030306D730D0A20202020202020206D61782D69646C653A2031300D0A2320B5C7C2BCCFE0B9D8C5E4D6C30D0A6C6F67696E3A0D0A2020232020CAC7B7F1CFDED6C6B5A5D3C3BBA7B5C7C2BC0D0A202073696E676C652D6C6F67696E3A2066616C73650D0A202023205265646973D3C3BBA7B5C7C2BCBBBAB4E6C5E4D6C30D0A2020757365722D63616368653A0D0A202020202320B4E6BBEECAB1BCE42FC3EB0D0A2020202069646C652D74696D653A2032313630300D0A2020232020D1E9D6A4C2EB0D0A20206C6F67696E2D636F64653A0D0A20202020656E61626C65643A2066616C73650D0A20202020232020D1E9D6A4C2EBC0E0D0CDC5E4D6C320B2E9BFB4204C6F67696E50726F7065727469657320C0E00D0A20202020636F64652D747970653A2061726974686D657469630D0A20202020232020B5C7C2BCCDBCD0CED1E9D6A4C2EBD3D0D0A7CAB1BCE42FB7D6D6D30D0A2020202065787069726174696F6E3A20320D0A20202020232020D1E9D6A4C2EBB8DFB6C80D0A2020202077696474683A203131310D0A20202020232020D1E9D6A4C2EBBFEDB6C80D0A202020206865696768743A2033360D0A202020202320C4DAC8DDB3A4B6C80D0A202020206C656E6774683A20320D0A202020202320D7D6CCE5C3FBB3C6A3ACCEAABFD5D4F2CAB9D3C3C4ACC8CFD7D6CCE50D0A20202020666F6E742D6E616D653A0D0A202020202320D7D6CCE5B4F3D0A10D0A20202020666F6E742D73697A653A2032350D0A23206A77740D0A6A77743A0D0A20206865616465723A20417574686F72697A6174696F6E0D0A20202320C1EEC5C6C7B0D7BA0D0A2020746F6B656E2D73746172742D776974683A204265617265720D0A20202320B1D8D0EBCAB9D3C3D7EEC9D93838CEBBB5C4426173653634B6D4B8C3C1EEC5C6BDF8D0D0B1E0C2EB0D0A20206261736536342D7365637265743A205A6D51305A4749354E6A51304D445177593249344D6A4D78593259335A6D49334D6A64684E325A6D4D6A4E684F4456694F5467315A4745304E54426A4D474D344E4441354E7A59784D6A646A4F574D775957526D5A54426C5A6A6C684E4759335A54673459325533595445314F44566B5A445535593259334F4759775A5745314E7A557A4E575132596A466A5A4463304E474D785A5755324D6D51334D6A59314E7A4A6D4E5445304D7A493D0D0A20202320C1EEC5C6B9FDC6DACAB1BCE420B4CBB4A6B5A5CEBB2FBAC1C3EB20A3ACC4ACC8CF34D0A1CAB1A3ACBFC9D4DAB4CBCDF8D5BEC9FAB3C92068747470733A2F2F7777772E636F6E76657274776F726C642E636F6D2F7A682D68616E732F74696D652F6D696C6C697365636F6E64732E68746D6C0D0A2020746F6B656E2D76616C69646974792D696E2D7365636F6E64733A2031343430303030300D0A20202320D4DACFDFD3C3BBA76B65790D0A20206F6E6C696E652D6B65793A20226F6E6C696E652D746F6B656E3A220D0A20202320D1E9D6A4C2EB0D0A2020636F64652D6B65793A2022636170746368612D636F64653A220D0A20202320746F6B656E20D0F8C6DABCECB2E9CAB1BCE4B7B6CEA7A3A8C4ACC8CF3330B7D6D6D3A3ACB5A5CEBBBAC1C3EBA3A9A3ACD4DA746F6B656EBCB4BDABB9FDC6DAB5C4D2BBB6CECAB1BCE4C4DAD3C3BBA7B2D9D7F7C1CBA3ACD4F2B8F8D3C3BBA7B5C4746F6B656ED0F8C6DA0D0A20206465746563743A20313830303030300D0A20202320D0F8C6DACAB1BCE4B7B6CEA7A3ACC4ACC8CF31D0A1CAB1A3ACB5A5CEBBBAC1C3EB0D0A202072656E65773A20333630303030300D0A2320CEC4BCFEB4E6B4A2C2B7BEB60D0A66696C653A0D0A20206D61633A0D0A20202020706174683A207E2F66696C652F0D0A202020206176617461723A207E2F6176617461722F0D0A20206C696E75783A0D0A20202020706174683A202F686F6D652F6B656E6169746F2F66696C652F0D0A202020206176617461723A202F686F6D652F6B656E6169746F2F6176617461722F0D0A202077696E646F77733A0D0A20202020706174683A20433A5C6B656E6169746F5C66696C655C0D0A202020206176617461723A20433A5C6B656E6169746F5C6176617461725C0D0A20202320CEC4BCFEB4F3D0A1202F4D0D0A20206D617853697A653A203130300D0A20206176617461724D617853697A653A20350D0A6170703A0D0A20202320C3DCC2EBBCD3C3DCB4ABCAE42C20C7B0B6CBB9ABD4BFBCD3C3DC2C20BAF3B6CBCBBDD4BFBDE2C3DC0D0A20202320C3DCD4BFB6D4C9FAB3C920687474703A2F2F7765622E63686163756F2E6E65742F6E65747273616B6579706169720D0A20202320B9ABD4BFD0E8D2AABFBDB1B4D2BBB7DDB5BDC7B0B6CBC2B7BEB6CFC23A206B656E6169746F2D66726F6E742F7372632F7574696C2F727361456E63727970742E6A730D0A2020707269766174652D6B65793A204D494942557749424144414E42676B71686B6947397730424151454641415343415430776767453541674541416B454130766676795464474A6B6462486B42386D7030663346453047595033415950614A46376A5564314D3058784653453263654B336B326B77323059765130394E4A4B6B2B4F4D6A57516C39576974473970423674534351494441514142416B413253696D42725743322F77766175427559716A4346774C7659695259715A4B54685553334D5A6C6562584A694C422B55652F6755696641414B49673161767474555A73484248726F703471664A43774149302B5952416945412B57334E4B2F526158746E52716D6F55556B6235397A735A55424C70765A675150666A314D687948447A30434951445968734168504A336D675336344E62555A6D475775754E4B7035636F593247496A2F7A59444D4A7036765149675575654C4658762F655A31656B677A324F6936374D4E436B356A655446324275725A714E4C52334D536D554349465433513675484D7473423945686134753768533331746A315557452B442B41447A7035394D476E6F66744169426548543767444D7571654A48504C34622B6B432B677A56344647546668523971337454626B6C5A6B4432413D3D0D0A20202320D1E9D6A4C2EB0D0A2020636170746368613A0D0A202020202320D3CACFE4D1E9D6A4C2EB0D0A20202020656D61696C3A0D0A2020202020202320D3D0D0A7CAB1BCE42FC3EB0D0A2020202020206578706972652D74696D653A2033300D0A2320CFDFB3CCB3D80D0A7461736B3A0D0A2020706F6F6C3A0D0A202020202320BACBD0C4CFDFB3CCB3D8B4F3D0A10D0A20202020636F72652D706F6F6C2D73697A653A2031300D0A202020202320D7EEB4F3CFDFB3CCCAFD0D0A202020206D61782D706F6F6C2D73697A653A2033300D0A202020202320BBEED4BECAB1BCE40D0A202020206B6565702D616C6976652D7365636F6E64733A2036300D0A202020202320B6D3C1D0C8DDC1BF0D0A2020202071756575652D63617061636974793A2035300D0A6B656E6169746F3A0D0A2020636F6E6669672D63656E7465723A0D0A20202020706F72743A203238303032);
|
||
|
||
-- ----------------------------
|
||
-- Table structure for demo
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `demo`;
|
||
CREATE TABLE `demo` (
|
||
`id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
|
||
`create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '创建者',
|
||
`create_time` datetime(0) NOT NULL COMMENT '创建时间',
|
||
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '更新者',
|
||
`update_time` datetime(0) NOT NULL COMMENT '更新时间',
|
||
`available` int(0) NOT NULL DEFAULT 1 COMMENT '数据有效性',
|
||
PRIMARY KEY (`id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of demo
|
||
-- ----------------------------
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_dept
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_dept`;
|
||
CREATE TABLE `system_dept` (
|
||
`dept_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||
`pid` bigint(0) NULL DEFAULT NULL COMMENT '上级部门',
|
||
`sub_count` int(0) NULL DEFAULT 0 COMMENT '子部门数目',
|
||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
|
||
`dept_sort` int(0) NULL DEFAULT 999 COMMENT '排序',
|
||
`enabled` bit(1) NOT NULL COMMENT '状态',
|
||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||
PRIMARY KEY (`dept_id`) USING BTREE,
|
||
INDEX `inx_pid`(`pid`) USING BTREE,
|
||
INDEX `inx_enabled`(`enabled`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '部门' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_dept
|
||
-- ----------------------------
|
||
INSERT INTO `system_dept` VALUES (2, 7, 1, '研发部', 3, b'1', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dept` VALUES (5, 7, 0, '运维部', 4, b'1', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dept` VALUES (6, 8, 0, '测试部', 6, b'1', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dept` VALUES (7, NULL, 2, '华南分部', 0, b'1', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dept` VALUES (8, NULL, 2, '华北分部', 1, b'1', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dept` VALUES (15, 8, 0, 'UI部门', 7, b'1', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dept` VALUES (17, 2, 0, '研发一组', 999, b'1', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_dict
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_dict`;
|
||
CREATE TABLE `system_dict` (
|
||
`dict_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典名称',
|
||
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
|
||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||
PRIMARY KEY (`dict_id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '数据字典' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_dict
|
||
-- ----------------------------
|
||
INSERT INTO `system_dict` VALUES (1, 'user_status', '用户状态', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict` VALUES (4, 'dept_status', '部门状态', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict` VALUES (5, 'job_status', '岗位状态', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict` VALUES (8, 'config_center_env', '配置中心环境', 'admin', 'admin', '2024-12-05 18:03:51', '2024-12-05 18:03:51');
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_dict_detail
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_dict_detail`;
|
||
CREATE TABLE `system_dict_detail` (
|
||
`detail_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||
`dict_id` bigint(0) NULL DEFAULT NULL COMMENT '字典id',
|
||
`label` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典标签',
|
||
`value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '字典值',
|
||
`dict_sort` int(0) NULL DEFAULT NULL COMMENT '排序',
|
||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||
PRIMARY KEY (`detail_id`) USING BTREE,
|
||
INDEX `FK5tpkputc6d9nboxojdbgnpmyb`(`dict_id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '数据字典详情' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_dict_detail
|
||
-- ----------------------------
|
||
INSERT INTO `system_dict_detail` VALUES (1, 1, '激活', 'true', 1, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict_detail` VALUES (2, 1, '禁用', 'false', 2, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict_detail` VALUES (3, 4, '启用', 'true', 1, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict_detail` VALUES (4, 4, '停用', 'false', 2, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict_detail` VALUES (5, 5, '启用', 'true', 1, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict_detail` VALUES (6, 5, '停用', 'false', 2, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_dict_detail` VALUES (14, 8, 'DAILY', 'daily', 1, 'admin', 'admin', '2024-12-05 18:04:35', '2024-12-05 18:04:35');
|
||
INSERT INTO `system_dict_detail` VALUES (15, 8, 'STAGE', 'stage', 2, 'admin', 'admin', '2024-12-05 18:04:55', '2024-12-05 18:04:55');
|
||
INSERT INTO `system_dict_detail` VALUES (16, 8, 'PROD', 'prod', 3, 'admin', 'admin', '2024-12-05 18:05:45', '2024-12-05 18:05:45');
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_job
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_job`;
|
||
CREATE TABLE `system_job` (
|
||
`job_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||
`name` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '岗位名称',
|
||
`enabled` bit(1) NOT NULL COMMENT '岗位状态',
|
||
`job_sort` int(0) NULL DEFAULT NULL COMMENT '排序',
|
||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||
PRIMARY KEY (`job_id`) USING BTREE,
|
||
UNIQUE INDEX `uniq_name`(`name`) USING BTREE,
|
||
INDEX `inx_enabled`(`enabled`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '岗位' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_job
|
||
-- ----------------------------
|
||
INSERT INTO `system_job` VALUES (8, '人事专员', b'1', 3, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_job` VALUES (10, '产品经理', b'1', 4, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_job` VALUES (11, '全栈开发', b'1', 2, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_job` VALUES (12, '软件测试', b'1', 5, 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_menu
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_menu`;
|
||
CREATE TABLE `system_menu` (
|
||
`menu_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||
`pid` bigint(0) NULL DEFAULT NULL COMMENT '上级菜单ID',
|
||
`sub_count` int(0) NULL DEFAULT 0 COMMENT '子菜单数目',
|
||
`type` int(0) NULL DEFAULT NULL COMMENT '菜单类型',
|
||
`title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '菜单标题',
|
||
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '组件名称',
|
||
`component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '组件',
|
||
`menu_sort` int(0) NULL DEFAULT NULL COMMENT '排序',
|
||
`icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '图标',
|
||
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '链接地址',
|
||
`i_frame` bit(1) NULL DEFAULT NULL COMMENT '是否外链',
|
||
`cache` bit(1) NULL DEFAULT b'0' COMMENT '缓存',
|
||
`hidden` bit(1) NULL DEFAULT b'0' COMMENT '隐藏',
|
||
`permission` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '权限',
|
||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||
PRIMARY KEY (`menu_id`) USING BTREE,
|
||
UNIQUE INDEX `uniq_title`(`title`) USING BTREE,
|
||
UNIQUE INDEX `uniq_name`(`name`) USING BTREE,
|
||
INDEX `inx_pid`(`pid`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 136 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '系统菜单' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_menu
|
||
-- ----------------------------
|
||
INSERT INTO `system_menu` VALUES (2, 130, 3, 1, '用户管理', 'User', 'system/user/index', 2, 'peoples', 'user', b'0', b'0', b'0', 'user:list', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (3, 130, 3, 1, '角色管理', 'Role', 'system/role/index', 3, 'role', 'role', b'0', b'0', b'0', 'roles:list', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (5, 130, 3, 1, '菜单管理', 'Menu', 'system/menu/index', 5, 'menu', 'menu', b'0', b'0', b'0', 'menu:list', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (6, 131, 3, 0, '系统监控', NULL, NULL, 10, 'monitor', 'monitor', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (9, 6, 0, 1, 'SQL监控', 'Sql', 'monitor/sql/index', 18, 'sqlMonitor', 'druid', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (10, 131, 5, 0, '组件管理', NULL, NULL, 50, 'zujian', 'components', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (11, 10, 0, 1, '图标库', 'Icons', 'components/icons/index', 51, 'icon', 'icon', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (14, 36, 0, 1, '邮件工具', 'Email', 'tools/email/index', 35, 'email', 'email', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (15, 10, 0, 1, '富文本', 'Editor', 'components/Editor', 52, 'fwb', 'tinymce', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (18, 36, 3, 1, '存储管理', 'Storage', 'tools/storage/index', 34, 'qiniu', 'storage', b'0', b'0', b'0', 'storage:list', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (21, 131, 2, 0, '多级菜单', NULL, '', 900, 'menu', 'nested', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (22, 21, 2, 0, '二级菜单1', NULL, '', 999, 'menu', 'menu1', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (23, 21, 0, 1, '二级菜单2', NULL, 'nested/menu2/index', 999, 'menu', 'menu2', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (24, 22, 0, 1, '三级菜单1', 'Test', 'nested/menu1/menu1-1', 999, 'menu', 'menu1-1', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (27, 22, 0, 1, '三级菜单2', NULL, 'nested/menu1/menu1-2', 999, 'menu', 'menu1-2', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (33, 10, 0, 1, 'Markdown', 'Markdown', 'components/MarkDown', 53, 'markdown', 'markdown', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (34, 10, 0, 1, 'Yaml编辑器', 'YamlEdit', 'components/YamlEdit', 54, 'dev', 'yaml', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (35, 130, 3, 1, '部门管理', 'Dept', 'system/dept/index', 6, 'dept', 'dept', b'0', b'0', b'0', 'dept:list', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (36, 131, 2, 0, '系统工具', NULL, '', 30, 'sys-tools', 'sys-tools', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (37, 130, 3, 1, '岗位管理', 'Job', 'system/job/index', 7, 'Steve-Jobs', 'job', b'0', b'0', b'0', 'job:list', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (39, 131, 3, 1, '字典管理', 'Dict', 'system/dict/index', 8, 'dictionary', 'dict', b'0', b'0', b'0', 'dict:list', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (41, 6, 0, 1, '在线用户', 'OnlineUser', 'monitor/online/index', 10, 'Steve-Jobs', 'online', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (44, 2, 0, 2, '用户新增', NULL, '', 2, '', '', b'0', b'0', b'0', 'user:add', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (45, 2, 0, 2, '用户编辑', NULL, '', 3, '', '', b'0', b'0', b'0', 'user:edit', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (46, 2, 0, 2, '用户删除', NULL, '', 4, '', '', b'0', b'0', b'0', 'user:del', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (48, 3, 0, 2, '角色创建', NULL, '', 2, '', '', b'0', b'0', b'0', 'roles:add', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (49, 3, 0, 2, '角色修改', NULL, '', 3, '', '', b'0', b'0', b'0', 'roles:edit', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (50, 3, 0, 2, '角色删除', NULL, '', 4, '', '', b'0', b'0', b'0', 'roles:del', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (52, 5, 0, 2, '菜单新增', NULL, '', 2, '', '', b'0', b'0', b'0', 'menu:add', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (53, 5, 0, 2, '菜单编辑', NULL, '', 3, '', '', b'0', b'0', b'0', 'menu:edit', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (54, 5, 0, 2, '菜单删除', NULL, '', 4, '', '', b'0', b'0', b'0', 'menu:del', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (56, 35, 0, 2, '部门新增', NULL, '', 2, '', '', b'0', b'0', b'0', 'dept:add', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (57, 35, 0, 2, '部门编辑', NULL, '', 3, '', '', b'0', b'0', b'0', 'dept:edit', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (58, 35, 0, 2, '部门删除', NULL, '', 4, '', '', b'0', b'0', b'0', 'dept:del', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (60, 37, 0, 2, '岗位新增', NULL, '', 2, '', '', b'0', b'0', b'0', 'job:add', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (61, 37, 0, 2, '岗位编辑', NULL, '', 3, '', '', b'0', b'0', b'0', 'job:edit', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (62, 37, 0, 2, '岗位删除', NULL, '', 4, '', '', b'0', b'0', b'0', 'job:del', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (64, 39, 0, 2, '字典新增', NULL, '', 2, '', '', b'0', b'0', b'0', 'dict:add', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (65, 39, 0, 2, '字典编辑', NULL, '', 3, '', '', b'0', b'0', b'0', 'dict:edit', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (66, 39, 0, 2, '字典删除', NULL, '', 4, '', '', b'0', b'0', b'0', 'dict:del', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (77, 18, 0, 2, '上传文件', NULL, '', 2, '', '', b'0', b'0', b'0', 'storage:add', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (78, 18, 0, 2, '文件编辑', NULL, '', 3, '', '', b'0', b'0', b'0', 'storage:edit', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (79, 18, 0, 2, '文件删除', NULL, '', 4, '', '', b'0', b'0', b'0', 'storage:del', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (80, 6, 0, 1, '服务监控', 'ServerMonitor', 'monitor/server/index', 14, 'codeConsole', 'server', b'0', b'0', b'0', 'monitor:list', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (83, 10, 0, 1, '图表库', 'Echarts', 'components/Echarts', 50, 'chart', 'echarts', b'0', b'1', b'0', '', 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (118, 10, 0, 1, '拖拽表格', 'DragTableDemo', 'components/DragTableDemo', 999, 'app', 'dragTableDemo', b'0', b'1', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (119, 10, 0, 1, '数字滚动', 'CountToDemo', 'components/CountToDemo', 999, 'app', 'countToDemo', b'0', b'1', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (120, 10, 0, 1, '代码编辑器', 'CodemirrorDemo', 'components/CodemirrorDemo', 999, 'app', 'codemirrorDemo', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (121, 10, 0, 1, '窗口拆分', 'SplitPaneDemo', 'components/SplitPaneDemo', 999, 'app', 'splitPaneDemo', b'0', b'1', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (122, 10, 0, 1, '一键复制', 'ClipboardDemo', 'components/ClipboardDemo', 999, 'app', 'clipboardDemo', b'0', b'1', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (123, 10, 0, 1, 'WebSocket', 'WebSocketDemo', 'components/WebSocketDemo', 999, 'app', 'webSocketDemo', b'0', b'1', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (130, NULL, 5, 0, '用户中心', NULL, NULL, 4, 'peoples', 'sso', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (131, NULL, 5, 0, '系统管理', NULL, NULL, 999, 'system1', 'sysconfig', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-11-15 22:12:18', '2024-11-15 22:12:18');
|
||
INSERT INTO `system_menu` VALUES (136, NULL, 1, 0, '配置中心', NULL, NULL, 999, 'menu', 'config', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-12-05 19:24:14', '2024-12-05 19:24:14');
|
||
INSERT INTO `system_menu` VALUES (137, 136, 3, 1, '配置管理', 'ConfigFile', 'config/file/index', 999, 'menu', 'configFile', b'0', b'0', b'0', NULL, 'admin', 'admin', '2024-12-05 19:25:36', '2024-12-05 19:25:36');
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_role
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_role`;
|
||
CREATE TABLE `system_role` (
|
||
`role_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
|
||
`level` int(0) NULL DEFAULT NULL COMMENT '角色级别',
|
||
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '描述',
|
||
`data_scope` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '数据权限',
|
||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||
PRIMARY KEY (`role_id`) USING BTREE,
|
||
UNIQUE INDEX `uniq_name`(`name`) USING BTREE,
|
||
INDEX `role_name_index`(`name`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '角色表' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_role
|
||
-- ----------------------------
|
||
INSERT INTO `system_role` VALUES (1, '超级管理员', 1, '-', '全部', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
INSERT INTO `system_role` VALUES (2, '普通用户', 2, '-', '本级', 'admin', 'admin', '2024-09-30 18:45:18', '2024-09-30 18:45:18');
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_roles_depts
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_roles_depts`;
|
||
CREATE TABLE `system_roles_depts` (
|
||
`role_id` bigint(0) NOT NULL,
|
||
`dept_id` bigint(0) NOT NULL,
|
||
PRIMARY KEY (`role_id`, `dept_id`) USING BTREE,
|
||
INDEX `FK7qg6itn5ajdoa9h9o78v9ksur`(`dept_id`) USING BTREE
|
||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '角色部门关联' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_roles_depts
|
||
-- ----------------------------
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_roles_menus
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_roles_menus`;
|
||
CREATE TABLE `system_roles_menus` (
|
||
`menu_id` bigint(0) NOT NULL COMMENT '菜单ID',
|
||
`role_id` bigint(0) NOT NULL COMMENT '角色ID',
|
||
PRIMARY KEY (`menu_id`, `role_id`) USING BTREE,
|
||
INDEX `FKcngg2qadojhi3a651a5adkvbq`(`role_id`) USING BTREE
|
||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '角色菜单关联' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_roles_menus
|
||
-- ----------------------------
|
||
INSERT INTO `system_roles_menus` VALUES (2, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (3, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (5, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (6, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (9, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (10, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (11, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (14, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (15, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (18, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (21, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (22, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (23, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (24, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (27, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (33, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (34, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (35, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (36, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (37, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (39, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (41, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (44, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (45, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (46, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (48, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (49, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (50, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (52, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (53, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (54, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (56, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (57, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (58, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (60, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (61, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (62, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (64, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (65, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (66, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (77, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (78, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (79, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (80, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (83, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (118, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (119, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (120, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (121, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (122, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (123, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (130, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (131, 1);
|
||
INSERT INTO `system_roles_menus` VALUES (10, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (11, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (15, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (21, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (22, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (23, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (24, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (27, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (33, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (34, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (83, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (118, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (119, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (120, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (121, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (122, 2);
|
||
INSERT INTO `system_roles_menus` VALUES (123, 2);
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_tool_email_log
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_tool_email_log`;
|
||
CREATE TABLE `system_tool_email_log` (
|
||
`id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
|
||
`create_time` datetime(0) NOT NULL COMMENT '创建时间',
|
||
`update_time` datetime(0) NOT NULL COMMENT '更新时间',
|
||
`email_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '邮件类型',
|
||
`from_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '谁发的',
|
||
`to_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '发给谁',
|
||
`title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '主题',
|
||
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '内容',
|
||
`err_msg` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '异常信息',
|
||
`send_status` int(0) NOT NULL COMMENT '发送状态(1已发送2发送成功3发送失败)',
|
||
PRIMARY KEY (`id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'TOOL邮件发送记录' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_tool_email_log
|
||
-- ----------------------------
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_tool_local_storage
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_tool_local_storage`;
|
||
CREATE TABLE `system_tool_local_storage` (
|
||
`id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||
`real_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件真实的名称',
|
||
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '文件名',
|
||
`suffix` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '后缀',
|
||
`path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '路径',
|
||
`type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '类型',
|
||
`size` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '大小',
|
||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||
PRIMARY KEY (`id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '本地存储' ROW_FORMAT = Compact;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_tool_local_storage
|
||
-- ----------------------------
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_user
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_user`;
|
||
CREATE TABLE `system_user` (
|
||
`user_id` bigint(0) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||
`dept_id` bigint(0) NULL DEFAULT NULL COMMENT '部门名称',
|
||
`username` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '用户名',
|
||
`nick_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '昵称',
|
||
`gender` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '性别',
|
||
`phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '手机号码',
|
||
`email` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '邮箱',
|
||
`avatar_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '头像地址',
|
||
`avatar_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '头像真实路径',
|
||
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '密码',
|
||
`is_admin` bit(1) NULL DEFAULT b'0' COMMENT '是否为admin账号',
|
||
`enabled` bit(1) NULL DEFAULT NULL COMMENT '状态:1启用、0禁用',
|
||
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
`update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新者',
|
||
`pwd_reset_time` datetime(0) NULL DEFAULT NULL COMMENT '修改密码的时间',
|
||
`dingtalk_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'dingtalk_id',
|
||
`dingtalk_union_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'dingtalk_union_id',
|
||
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
|
||
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
|
||
PRIMARY KEY (`user_id`) USING BTREE,
|
||
UNIQUE INDEX `uniq_phone`(`phone`) USING BTREE,
|
||
UNIQUE INDEX `uniq_username`(`username`) USING BTREE,
|
||
UNIQUE INDEX `uniq_email`(`email`) USING BTREE,
|
||
INDEX `inx_enabled`(`enabled`) USING BTREE,
|
||
INDEX `inx_deptid`(`dept_id`) USING BTREE
|
||
) ENGINE = InnoDB AUTO_INCREMENT = 103 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '系统用户' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_user
|
||
-- ----------------------------
|
||
INSERT INTO `system_user` VALUES (1, 2, 'admin', '管理员', '男', '18797874076', '1943815081@qq.com', NULL, NULL, '$2a$10$Egp1/gvFlt7zhlXVfEFw4OfWQCGPw0ClmMcc6FjTnvXNRVf9zdMRa', b'1', b'1', 'admin', 'anonymous', '2020-05-03 16:38:31', '0707644155678044', 'zf1xhIVabNeJOENYVGl1pwiEiE', '2024-09-30 18:45:18', '2024-10-29 15:56:38');
|
||
INSERT INTO `system_user` VALUES (3, 2, 'odboy', 'Odboy', '男', '17353066905', 'tianjun@odboy.cn', NULL, NULL, '$2a$10$4XcyudOYTSz6fue6KFNMHeUQnCX5jbBQypLEnGk1PmekXt5c95JcK', b'0', b'1', 'admin', 'anonymous', NULL, '016339065647678044', 'QRw9oJooPuMnV414UiPWiPnwiEiE', '2024-09-30 18:45:18', '2024-10-29 15:56:37');
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_users_jobs
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_users_jobs`;
|
||
CREATE TABLE `system_users_jobs` (
|
||
`user_id` bigint(0) NOT NULL COMMENT '用户ID',
|
||
`job_id` bigint(0) NOT NULL COMMENT '岗位ID',
|
||
PRIMARY KEY (`user_id`, `job_id`) USING BTREE
|
||
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_users_jobs
|
||
-- ----------------------------
|
||
INSERT INTO `system_users_jobs` VALUES (1, 11);
|
||
INSERT INTO `system_users_jobs` VALUES (3, 11);
|
||
|
||
-- ----------------------------
|
||
-- Table structure for system_users_roles
|
||
-- ----------------------------
|
||
DROP TABLE IF EXISTS `system_users_roles`;
|
||
CREATE TABLE `system_users_roles` (
|
||
`user_id` bigint(0) NOT NULL COMMENT '用户ID',
|
||
`role_id` bigint(0) NOT NULL COMMENT '角色ID',
|
||
PRIMARY KEY (`user_id`, `role_id`) USING BTREE,
|
||
INDEX `FKq4eq273l04bpu4efj0jd0jb98`(`role_id`) USING BTREE
|
||
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户角色关联' ROW_FORMAT = Dynamic;
|
||
|
||
-- ----------------------------
|
||
-- Records of system_users_roles
|
||
-- ----------------------------
|
||
INSERT INTO `system_users_roles` VALUES (1, 1);
|
||
INSERT INTO `system_users_roles` VALUES (3, 2);
|
||
|
||
SET FOREIGN_KEY_CHECKS = 1;
|