/*
 navicat premium data transfer

 source server         : localhost
 source server type    : mysql
 source server version : 50731 (5.7.31)
 source host           : localhost:3306
 source schema         : tony-flowable

 target server type    : mysql
 target server version : 50731 (5.7.31)
 file encoding         : 65001

 date: 28/12/2022 16:39:00
*/

set names utf8mb4;
set foreign_key_checks = 0;

-- ----------------------------
-- table structure for act_app_appdef
-- ----------------------------
drop table if exists `act_app_appdef`;
create table `act_app_appdef` (
                                  `id_` varchar(255) not null,
                                  `rev_` int(11) not null,
                                  `name_` varchar(255) default null,
                                  `key_` varchar(255) not null,
                                  `version_` int(11) not null,
                                  `category_` varchar(255) default null,
                                  `deployment_id_` varchar(255) default null,
                                  `resource_name_` varchar(4000) default null,
                                  `description_` varchar(4000) default null,
                                  `tenant_id_` varchar(255) default '',
                                  primary key (`id_`),
                                  unique key `act_idx_app_def_uniq` (`key_`,`version_`,`tenant_id_`),
                                  key `act_idx_app_def_dply` (`deployment_id_`),
                                  constraint `act_fk_app_def_dply` foreign key (`deployment_id_`) references `act_app_deployment` (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_app_appdef
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_app_databasechangelog
-- ----------------------------
drop table if exists `act_app_databasechangelog`;
create table `act_app_databasechangelog` (
                                             `id` varchar(255) not null,
                                             `author` varchar(255) not null,
                                             `filename` varchar(255) not null,
                                             `dateexecuted` datetime not null,
                                             `orderexecuted` int(11) not null,
                                             `exectype` varchar(10) not null,
                                             `md5sum` varchar(35) default null,
                                             `description` varchar(255) default null,
                                             `comments` varchar(255) default null,
                                             `tag` varchar(255) default null,
                                             `liquibase` varchar(20) default null,
                                             `contexts` varchar(255) default null,
                                             `labels` varchar(255) default null,
                                             `deployment_id` varchar(10) default null
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_app_databasechangelog
-- ----------------------------
begin;
insert into `act_app_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('1', 'flowable', 'org/flowable/app/db/liquibase/flowable-app-db-changelog.xml', '2023-09-14 11:05:29', 1, 'executed', '8:496fc778bdf2ab13f2e1926d0e63e0a2', 'createtable tablename=act_app_deployment; createtable tablename=act_app_deployment_resource; addforeignkeyconstraint basetablename=act_app_deployment_resource, constraintname=act_fk_app_rsrc_dpl, referencedtablename=act_app_deployment; createindex...', '', null, '4.3.5', null, null, '4660729443');
insert into `act_app_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('2', 'flowable', 'org/flowable/app/db/liquibase/flowable-app-db-changelog.xml', '2023-09-14 11:05:29', 2, 'executed', '8:ccea9ebfb6c1f8367ca4dd473fcbb7db', 'modifydatatype columnname=deploy_time_, tablename=act_app_deployment', '', null, '4.3.5', null, null, '4660729443');
insert into `act_app_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('3', 'flowable', 'org/flowable/app/db/liquibase/flowable-app-db-changelog.xml', '2023-09-14 11:05:29', 3, 'executed', '8:f1f8aff320aade831944ebad24355f3d', 'createindex indexname=act_idx_app_def_uniq, tablename=act_app_appdef', '', null, '4.3.5', null, null, '4660729443');
commit;

-- ----------------------------
-- table structure for act_app_databasechangeloglock
-- ----------------------------
drop table if exists `act_app_databasechangeloglock`;
create table `act_app_databasechangeloglock` (
                                                 `id` int(11) not null,
                                                 `locked` bit(1) not null,
                                                 `lockgranted` datetime default null,
                                                 `lockedby` varchar(255) default null,
                                                 primary key (`id`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_app_databasechangeloglock
-- ----------------------------
begin;
insert into `act_app_databasechangeloglock` (`id`, `locked`, `lockgranted`, `lockedby`) values (1, b'0', null, null);
commit;

-- ----------------------------
-- table structure for act_app_deployment
-- ----------------------------
drop table if exists `act_app_deployment`;
create table `act_app_deployment` (
                                      `id_` varchar(255) not null,
                                      `name_` varchar(255) default null,
                                      `category_` varchar(255) default null,
                                      `key_` varchar(255) default null,
                                      `deploy_time_` datetime(3) default null,
                                      `tenant_id_` varchar(255) default '',
                                      primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_app_deployment
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_app_deployment_resource
-- ----------------------------
drop table if exists `act_app_deployment_resource`;
create table `act_app_deployment_resource` (
                                               `id_` varchar(255) not null,
                                               `name_` varchar(255) default null,
                                               `deployment_id_` varchar(255) default null,
                                               `resource_bytes_` longblob,
                                               primary key (`id_`),
                                               key `act_idx_app_rsrc_dpl` (`deployment_id_`),
                                               constraint `act_fk_app_rsrc_dpl` foreign key (`deployment_id_`) references `act_app_deployment` (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_app_deployment_resource
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_casedef
-- ----------------------------
drop table if exists `act_cmmn_casedef`;
create table `act_cmmn_casedef` (
                                    `id_` varchar(255) not null,
                                    `rev_` int(11) not null,
                                    `name_` varchar(255) default null,
                                    `key_` varchar(255) not null,
                                    `version_` int(11) not null,
                                    `category_` varchar(255) default null,
                                    `deployment_id_` varchar(255) default null,
                                    `resource_name_` varchar(4000) default null,
                                    `description_` varchar(4000) default null,
                                    `has_graphical_notation_` bit(1) default null,
                                    `tenant_id_` varchar(255) default '',
                                    `dgrm_resource_name_` varchar(4000) default null,
                                    `has_start_form_key_` bit(1) default null,
                                    primary key (`id_`),
                                    unique key `act_idx_case_def_uniq` (`key_`,`version_`,`tenant_id_`),
                                    key `act_idx_case_def_dply` (`deployment_id_`),
                                    constraint `act_fk_case_def_dply` foreign key (`deployment_id_`) references `act_cmmn_deployment` (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_casedef
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_databasechangelog
-- ----------------------------
drop table if exists `act_cmmn_databasechangelog`;
create table `act_cmmn_databasechangelog` (
                                              `id` varchar(255) not null,
                                              `author` varchar(255) not null,
                                              `filename` varchar(255) not null,
                                              `dateexecuted` datetime not null,
                                              `orderexecuted` int(11) not null,
                                              `exectype` varchar(10) not null,
                                              `md5sum` varchar(35) default null,
                                              `description` varchar(255) default null,
                                              `comments` varchar(255) default null,
                                              `tag` varchar(255) default null,
                                              `liquibase` varchar(20) default null,
                                              `contexts` varchar(255) default null,
                                              `labels` varchar(255) default null,
                                              `deployment_id` varchar(10) default null
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_databasechangelog
-- ----------------------------
begin;
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('1', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:27', 1, 'executed', '8:8b4b922d90b05ff27483abefc9597aa6', 'createtable tablename=act_cmmn_deployment; createtable tablename=act_cmmn_deployment_resource; addforeignkeyconstraint basetablename=act_cmmn_deployment_resource, constraintname=act_fk_cmmn_rsrc_dpl, referencedtablename=act_cmmn_deployment; create...', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('2', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 2, 'executed', '8:65e39b3d385706bb261cbeffe7533cbe', 'addcolumn tablename=act_cmmn_casedef; addcolumn tablename=act_cmmn_deployment_resource; addcolumn tablename=act_cmmn_ru_case_inst; addcolumn tablename=act_cmmn_ru_plan_item_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('3', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 3, 'executed', '8:c01f6e802b49436b4489040da3012359', 'addcolumn tablename=act_cmmn_ru_plan_item_inst; addcolumn tablename=act_cmmn_ru_case_inst; createindex indexname=act_idx_plan_item_stage_inst, tablename=act_cmmn_ru_plan_item_inst; addcolumn tablename=act_cmmn_ru_plan_item_inst; addcolumn tablenam...', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('4', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 4, 'executed', '8:e40d29cb79345b7fb5afd38a7f0ba8fc', 'createtable tablename=act_cmmn_hi_plan_item_inst; addcolumn tablename=act_cmmn_ru_mil_inst; addcolumn tablename=act_cmmn_hi_mil_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('5', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 5, 'executed', '8:70349de472f87368dcdec971a10311a0', 'modifydatatype columnname=deploy_time_, tablename=act_cmmn_deployment; modifydatatype columnname=start_time_, tablename=act_cmmn_ru_case_inst; modifydatatype columnname=start_time_, tablename=act_cmmn_ru_plan_item_inst; modifydatatype columnname=t...', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('6', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 6, 'executed', '8:10e82e26a7fee94c32a92099c059c18c', 'createindex indexname=act_idx_case_def_uniq, tablename=act_cmmn_casedef', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('7', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 7, 'executed', '8:530bc81a1e30618ccf4a2da1f7c6c043', 'renamecolumn newcolumnname=create_time_, oldcolumnname=start_time_, tablename=act_cmmn_ru_plan_item_inst; renamecolumn newcolumnname=create_time_, oldcolumnname=created_time_, tablename=act_cmmn_hi_plan_item_inst; addcolumn tablename=act_cmmn_ru_p...', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('8', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 8, 'executed', '8:e8c2eb1ce28bc301efe07e0e29757781', 'addcolumn tablename=act_cmmn_hi_plan_item_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('9', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 9, 'executed', '8:4cb4782b9bdec5ced2a64c525aa7b3a0', 'addcolumn tablename=act_cmmn_ru_plan_item_inst; addcolumn tablename=act_cmmn_hi_plan_item_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('10', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 10, 'executed', '8:341c16be247f5d17badc9809da8691f9', 'addcolumn tablename=act_cmmn_ru_case_inst; addcolumn tablename=act_cmmn_ru_case_inst; createindex indexname=act_idx_case_inst_ref_id_, tablename=act_cmmn_ru_case_inst; addcolumn tablename=act_cmmn_hi_case_inst; addcolumn tablename=act_cmmn_hi_case...', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('11', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 11, 'executed', '8:d7c4da9276bcfffbfb0ebfb25e3f7b05', 'addcolumn tablename=act_cmmn_ru_plan_item_inst; addcolumn tablename=act_cmmn_hi_plan_item_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('12', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 12, 'executed', '8:adf4ecc45f2aa9a44a5626b02e1d6f98', 'addcolumn tablename=act_cmmn_ru_case_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('13', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 13, 'executed', '8:7550626f964ab5518464709408333ec1', 'addcolumn tablename=act_cmmn_ru_plan_item_inst; addcolumn tablename=act_cmmn_hi_plan_item_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('14', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 14, 'executed', '8:086b40b3a05596dcc8a8d7479922d494', 'addcolumn tablename=act_cmmn_ru_case_inst; addcolumn tablename=act_cmmn_hi_case_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('16', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 15, 'executed', '8:a697a222ddd99dd15b36516a252f1c63', 'addcolumn tablename=act_cmmn_ru_case_inst; addcolumn tablename=act_cmmn_hi_case_inst', '', null, '4.3.5', null, null, '4660727511');
insert into `act_cmmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('17', 'flowable', 'org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog.xml', '2023-09-14 11:05:28', 16, 'executed', '8:d3706c5813a9b97fd2a59d12a9523946', 'createindex indexname=act_idx_hi_case_inst_end, tablename=act_cmmn_hi_case_inst', '', null, '4.3.5', null, null, '4660727511');
commit;

-- ----------------------------
-- table structure for act_cmmn_databasechangeloglock
-- ----------------------------
drop table if exists `act_cmmn_databasechangeloglock`;
create table `act_cmmn_databasechangeloglock` (
                                                  `id` int(11) not null,
                                                  `locked` bit(1) not null,
                                                  `lockgranted` datetime default null,
                                                  `lockedby` varchar(255) default null,
                                                  primary key (`id`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_databasechangeloglock
-- ----------------------------
begin;
insert into `act_cmmn_databasechangeloglock` (`id`, `locked`, `lockgranted`, `lockedby`) values (1, b'0', null, null);
commit;

-- ----------------------------
-- table structure for act_cmmn_deployment
-- ----------------------------
drop table if exists `act_cmmn_deployment`;
create table `act_cmmn_deployment` (
                                       `id_` varchar(255) not null,
                                       `name_` varchar(255) default null,
                                       `category_` varchar(255) default null,
                                       `key_` varchar(255) default null,
                                       `deploy_time_` datetime(3) default null,
                                       `parent_deployment_id_` varchar(255) default null,
                                       `tenant_id_` varchar(255) default '',
                                       primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_deployment
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_deployment_resource
-- ----------------------------
drop table if exists `act_cmmn_deployment_resource`;
create table `act_cmmn_deployment_resource` (
                                                `id_` varchar(255) not null,
                                                `name_` varchar(255) default null,
                                                `deployment_id_` varchar(255) default null,
                                                `resource_bytes_` longblob,
                                                `generated_` bit(1) default null,
                                                primary key (`id_`),
                                                key `act_idx_cmmn_rsrc_dpl` (`deployment_id_`),
                                                constraint `act_fk_cmmn_rsrc_dpl` foreign key (`deployment_id_`) references `act_cmmn_deployment` (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_deployment_resource
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_hi_case_inst
-- ----------------------------
drop table if exists `act_cmmn_hi_case_inst`;
create table `act_cmmn_hi_case_inst` (
                                         `id_` varchar(255) not null,
                                         `rev_` int(11) not null,
                                         `business_key_` varchar(255) default null,
                                         `name_` varchar(255) default null,
                                         `parent_id_` varchar(255) default null,
                                         `case_def_id_` varchar(255) default null,
                                         `state_` varchar(255) default null,
                                         `start_time_` datetime(3) default null,
                                         `end_time_` datetime(3) default null,
                                         `start_user_id_` varchar(255) default null,
                                         `callback_id_` varchar(255) default null,
                                         `callback_type_` varchar(255) default null,
                                         `tenant_id_` varchar(255) default '',
                                         `reference_id_` varchar(255) default null,
                                         `reference_type_` varchar(255) default null,
                                         `last_reactivation_time_` datetime(3) default null,
                                         `last_reactivation_user_id_` varchar(255) default null,
                                         `business_status_` varchar(255) default null,
                                         primary key (`id_`),
                                         key `act_idx_hi_case_inst_end` (`end_time_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_hi_case_inst
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_hi_mil_inst
-- ----------------------------
drop table if exists `act_cmmn_hi_mil_inst`;
create table `act_cmmn_hi_mil_inst` (
                                        `id_` varchar(255) not null,
                                        `rev_` int(11) not null,
                                        `name_` varchar(255) not null,
                                        `time_stamp_` datetime(3) default null,
                                        `case_inst_id_` varchar(255) not null,
                                        `case_def_id_` varchar(255) not null,
                                        `element_id_` varchar(255) not null,
                                        `tenant_id_` varchar(255) default '',
                                        primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_hi_mil_inst
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_hi_plan_item_inst
-- ----------------------------
drop table if exists `act_cmmn_hi_plan_item_inst`;
create table `act_cmmn_hi_plan_item_inst` (
                                              `id_` varchar(255) not null,
                                              `rev_` int(11) not null,
                                              `name_` varchar(255) default null,
                                              `state_` varchar(255) default null,
                                              `case_def_id_` varchar(255) default null,
                                              `case_inst_id_` varchar(255) default null,
                                              `stage_inst_id_` varchar(255) default null,
                                              `is_stage_` bit(1) default null,
                                              `element_id_` varchar(255) default null,
                                              `item_definition_id_` varchar(255) default null,
                                              `item_definition_type_` varchar(255) default null,
                                              `create_time_` datetime(3) default null,
                                              `last_available_time_` datetime(3) default null,
                                              `last_enabled_time_` datetime(3) default null,
                                              `last_disabled_time_` datetime(3) default null,
                                              `last_started_time_` datetime(3) default null,
                                              `last_suspended_time_` datetime(3) default null,
                                              `completed_time_` datetime(3) default null,
                                              `occurred_time_` datetime(3) default null,
                                              `terminated_time_` datetime(3) default null,
                                              `exit_time_` datetime(3) default null,
                                              `ended_time_` datetime(3) default null,
                                              `last_updated_time_` datetime(3) default null,
                                              `start_user_id_` varchar(255) default null,
                                              `reference_id_` varchar(255) default null,
                                              `reference_type_` varchar(255) default null,
                                              `tenant_id_` varchar(255) default '',
                                              `entry_criterion_id_` varchar(255) default null,
                                              `exit_criterion_id_` varchar(255) default null,
                                              `show_in_overview_` bit(1) default null,
                                              `extra_value_` varchar(255) default null,
                                              `derived_case_def_id_` varchar(255) default null,
                                              `last_unavailable_time_` datetime(3) default null,
                                              primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_hi_plan_item_inst
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_ru_case_inst
-- ----------------------------
drop table if exists `act_cmmn_ru_case_inst`;
create table `act_cmmn_ru_case_inst` (
                                         `id_` varchar(255) not null,
                                         `rev_` int(11) not null,
                                         `business_key_` varchar(255) default null,
                                         `name_` varchar(255) default null,
                                         `parent_id_` varchar(255) default null,
                                         `case_def_id_` varchar(255) default null,
                                         `state_` varchar(255) default null,
                                         `start_time_` datetime(3) default null,
                                         `start_user_id_` varchar(255) default null,
                                         `callback_id_` varchar(255) default null,
                                         `callback_type_` varchar(255) default null,
                                         `tenant_id_` varchar(255) default '',
                                         `lock_time_` datetime(3) default null,
                                         `is_completeable_` bit(1) default null,
                                         `reference_id_` varchar(255) default null,
                                         `reference_type_` varchar(255) default null,
                                         `lock_owner_` varchar(255) default null,
                                         `last_reactivation_time_` datetime(3) default null,
                                         `last_reactivation_user_id_` varchar(255) default null,
                                         `business_status_` varchar(255) default null,
                                         primary key (`id_`),
                                         key `act_idx_case_inst_case_def` (`case_def_id_`),
                                         key `act_idx_case_inst_parent` (`parent_id_`),
                                         key `act_idx_case_inst_ref_id_` (`reference_id_`),
                                         constraint `act_fk_case_inst_case_def` foreign key (`case_def_id_`) references `act_cmmn_casedef` (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_ru_case_inst
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_ru_mil_inst
-- ----------------------------
drop table if exists `act_cmmn_ru_mil_inst`;
create table `act_cmmn_ru_mil_inst` (
                                        `id_` varchar(255) not null,
                                        `name_` varchar(255) not null,
                                        `time_stamp_` datetime(3) default null,
                                        `case_inst_id_` varchar(255) not null,
                                        `case_def_id_` varchar(255) not null,
                                        `element_id_` varchar(255) not null,
                                        `tenant_id_` varchar(255) default '',
                                        primary key (`id_`),
                                        key `act_idx_mil_case_def` (`case_def_id_`),
                                        key `act_idx_mil_case_inst` (`case_inst_id_`),
                                        constraint `act_fk_mil_case_def` foreign key (`case_def_id_`) references `act_cmmn_casedef` (`id_`),
                                        constraint `act_fk_mil_case_inst` foreign key (`case_inst_id_`) references `act_cmmn_ru_case_inst` (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_ru_mil_inst
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_ru_plan_item_inst
-- ----------------------------
drop table if exists `act_cmmn_ru_plan_item_inst`;
create table `act_cmmn_ru_plan_item_inst` (
                                              `id_` varchar(255) not null,
                                              `rev_` int(11) not null,
                                              `case_def_id_` varchar(255) default null,
                                              `case_inst_id_` varchar(255) default null,
                                              `stage_inst_id_` varchar(255) default null,
                                              `is_stage_` bit(1) default null,
                                              `element_id_` varchar(255) default null,
                                              `name_` varchar(255) default null,
                                              `state_` varchar(255) default null,
                                              `create_time_` datetime(3) default null,
                                              `start_user_id_` varchar(255) default null,
                                              `reference_id_` varchar(255) default null,
                                              `reference_type_` varchar(255) default null,
                                              `tenant_id_` varchar(255) default '',
                                              `item_definition_id_` varchar(255) default null,
                                              `item_definition_type_` varchar(255) default null,
                                              `is_completeable_` bit(1) default null,
                                              `is_count_enabled_` bit(1) default null,
                                              `var_count_` int(11) default null,
                                              `sentry_part_inst_count_` int(11) default null,
                                              `last_available_time_` datetime(3) default null,
                                              `last_enabled_time_` datetime(3) default null,
                                              `last_disabled_time_` datetime(3) default null,
                                              `last_started_time_` datetime(3) default null,
                                              `last_suspended_time_` datetime(3) default null,
                                              `completed_time_` datetime(3) default null,
                                              `occurred_time_` datetime(3) default null,
                                              `terminated_time_` datetime(3) default null,
                                              `exit_time_` datetime(3) default null,
                                              `ended_time_` datetime(3) default null,
                                              `entry_criterion_id_` varchar(255) default null,
                                              `exit_criterion_id_` varchar(255) default null,
                                              `extra_value_` varchar(255) default null,
                                              `derived_case_def_id_` varchar(255) default null,
                                              `last_unavailable_time_` datetime(3) default null,
                                              primary key (`id_`),
                                              key `act_idx_plan_item_case_def` (`case_def_id_`),
                                              key `act_idx_plan_item_case_inst` (`case_inst_id_`),
                                              key `act_idx_plan_item_stage_inst` (`stage_inst_id_`),
                                              constraint `act_fk_plan_item_case_def` foreign key (`case_def_id_`) references `act_cmmn_casedef` (`id_`),
                                              constraint `act_fk_plan_item_case_inst` foreign key (`case_inst_id_`) references `act_cmmn_ru_case_inst` (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_ru_plan_item_inst
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_cmmn_ru_sentry_part_inst
-- ----------------------------
drop table if exists `act_cmmn_ru_sentry_part_inst`;
create table `act_cmmn_ru_sentry_part_inst` (
                                                `id_` varchar(255) not null,
                                                `rev_` int(11) not null,
                                                `case_def_id_` varchar(255) default null,
                                                `case_inst_id_` varchar(255) default null,
                                                `plan_item_inst_id_` varchar(255) default null,
                                                `on_part_id_` varchar(255) default null,
                                                `if_part_id_` varchar(255) default null,
                                                `time_stamp_` datetime(3) default null,
                                                primary key (`id_`),
                                                key `act_idx_sentry_case_def` (`case_def_id_`),
                                                key `act_idx_sentry_case_inst` (`case_inst_id_`),
                                                key `act_idx_sentry_plan_item` (`plan_item_inst_id_`),
                                                constraint `act_fk_sentry_case_def` foreign key (`case_def_id_`) references `act_cmmn_casedef` (`id_`),
                                                constraint `act_fk_sentry_case_inst` foreign key (`case_inst_id_`) references `act_cmmn_ru_case_inst` (`id_`),
                                                constraint `act_fk_sentry_plan_item` foreign key (`plan_item_inst_id_`) references `act_cmmn_ru_plan_item_inst` (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_cmmn_ru_sentry_part_inst
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_co_content_item
-- ----------------------------
drop table if exists `act_co_content_item`;
create table `act_co_content_item` (
                                       `id_` varchar(255) not null,
                                       `name_` varchar(255) not null,
                                       `mime_type_` varchar(255) default null,
                                       `task_id_` varchar(255) default null,
                                       `proc_inst_id_` varchar(255) default null,
                                       `content_store_id_` varchar(255) default null,
                                       `content_store_name_` varchar(255) default null,
                                       `field_` varchar(400) default null,
                                       `content_available_` bit(1) default b'0',
                                       `created_` timestamp(6) null default null,
                                       `created_by_` varchar(255) default null,
                                       `last_modified_` timestamp(6) null default null,
                                       `last_modified_by_` varchar(255) default null,
                                       `content_size_` bigint(20) default '0',
                                       `tenant_id_` varchar(255) default null,
                                       `scope_id_` varchar(255) default null,
                                       `scope_type_` varchar(255) default null,
                                       primary key (`id_`),
                                       key `idx_contitem_taskid` (`task_id_`),
                                       key `idx_contitem_procid` (`proc_inst_id_`),
                                       key `idx_contitem_scope` (`scope_id_`,`scope_type_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_co_content_item
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_co_databasechangelog
-- ----------------------------
drop table if exists `act_co_databasechangelog`;
create table `act_co_databasechangelog` (
                                            `id` varchar(255) not null,
                                            `author` varchar(255) not null,
                                            `filename` varchar(255) not null,
                                            `dateexecuted` datetime not null,
                                            `orderexecuted` int(11) not null,
                                            `exectype` varchar(10) not null,
                                            `md5sum` varchar(35) default null,
                                            `description` varchar(255) default null,
                                            `comments` varchar(255) default null,
                                            `tag` varchar(255) default null,
                                            `liquibase` varchar(20) default null,
                                            `contexts` varchar(255) default null,
                                            `labels` varchar(255) default null,
                                            `deployment_id` varchar(10) default null
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_co_databasechangelog
-- ----------------------------
begin;
insert into `act_co_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('1', 'activiti', 'org/flowable/content/db/liquibase/flowable-content-db-changelog.xml', '2023-09-14 11:05:26', 1, 'executed', '8:7644d7165cfe799200a2abdd3419e8b6', 'createtable tablename=act_co_content_item; createindex indexname=idx_contitem_taskid, tablename=act_co_content_item; createindex indexname=idx_contitem_procid, tablename=act_co_content_item', '', null, '4.3.5', null, null, '4660726300');
insert into `act_co_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('2', 'flowable', 'org/flowable/content/db/liquibase/flowable-content-db-changelog.xml', '2023-09-14 11:05:26', 2, 'executed', '8:fe7b11ac7dbbf9c43006b23bbab60bab', 'addcolumn tablename=act_co_content_item; createindex indexname=idx_contitem_scope, tablename=act_co_content_item', '', null, '4.3.5', null, null, '4660726300');
commit;

-- ----------------------------
-- table structure for act_co_databasechangeloglock
-- ----------------------------
drop table if exists `act_co_databasechangeloglock`;
create table `act_co_databasechangeloglock` (
                                                `id` int(11) not null,
                                                `locked` bit(1) not null,
                                                `lockgranted` datetime default null,
                                                `lockedby` varchar(255) default null,
                                                primary key (`id`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_co_databasechangeloglock
-- ----------------------------
begin;
insert into `act_co_databasechangeloglock` (`id`, `locked`, `lockgranted`, `lockedby`) values (1, b'0', null, null);
commit;

-- ----------------------------
-- table structure for act_dmn_databasechangelog
-- ----------------------------
drop table if exists `act_dmn_databasechangelog`;
create table `act_dmn_databasechangelog` (
                                             `id` varchar(255) not null,
                                             `author` varchar(255) not null,
                                             `filename` varchar(255) not null,
                                             `dateexecuted` datetime not null,
                                             `orderexecuted` int(11) not null,
                                             `exectype` varchar(10) not null,
                                             `md5sum` varchar(35) default null,
                                             `description` varchar(255) default null,
                                             `comments` varchar(255) default null,
                                             `tag` varchar(255) default null,
                                             `liquibase` varchar(20) default null,
                                             `contexts` varchar(255) default null,
                                             `labels` varchar(255) default null,
                                             `deployment_id` varchar(10) default null
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_dmn_databasechangelog
-- ----------------------------
begin;
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('1', 'activiti', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 1, 'executed', '8:c8701f1c71018b55029f450b2e9a10a1', 'createtable tablename=act_dmn_deployment; createtable tablename=act_dmn_deployment_resource; createtable tablename=act_dmn_decision_table', '', null, '4.3.5', null, null, '4660725322');
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('2', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 2, 'executed', '8:47f94b27feb7df8a30d4e338c7bd5fb8', 'createtable tablename=act_dmn_hi_decision_execution', '', null, '4.3.5', null, null, '4660725322');
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('3', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 3, 'executed', '8:ac17eae89fbdccb6e08daf3c7797b579', 'addcolumn tablename=act_dmn_hi_decision_execution', '', null, '4.3.5', null, null, '4660725322');
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('4', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 4, 'executed', '8:f73aabc4529e7292c2942073d1cff6f9', 'dropcolumn columnname=parent_deployment_id_, tablename=act_dmn_decision_table', '', null, '4.3.5', null, null, '4660725322');
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('5', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 5, 'executed', '8:3e03528582dd4eeb4eb41f9b9539140d', 'modifydatatype columnname=deploy_time_, tablename=act_dmn_deployment; modifydatatype columnname=start_time_, tablename=act_dmn_hi_decision_execution; modifydatatype columnname=end_time_, tablename=act_dmn_hi_decision_execution', '', null, '4.3.5', null, null, '4660725322');
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('6', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 6, 'executed', '8:646c6a061e0b6e8a62e69844ff96abb0', 'createindex indexname=act_idx_dec_tbl_uniq, tablename=act_dmn_decision_table', '', null, '4.3.5', null, null, '4660725322');
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('7', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 7, 'executed', '8:215a499ff7ae77685b55355245b8b708', 'dropindex indexname=act_idx_dec_tbl_uniq, tablename=act_dmn_decision_table; renametable newtablename=act_dmn_decision, oldtablename=act_dmn_decision_table; createindex indexname=act_idx_dmn_dec_uniq, tablename=act_dmn_decision', '', null, '4.3.5', null, null, '4660725322');
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('8', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 8, 'executed', '8:5355bee389318afed91a11702f2df032', 'addcolumn tablename=act_dmn_decision', '', null, '4.3.5', null, null, '4660725322');
insert into `act_dmn_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('9', 'flowable', 'org/flowable/dmn/db/liquibase/flowable-dmn-db-changelog.xml', '2023-09-14 11:05:25', 9, 'executed', '8:0fe82086431b1953d293f0199f805876', 'createindex indexname=act_idx_dmn_instance_id, tablename=act_dmn_hi_decision_execution', '', null, '4.3.5', null, null, '4660725322');
commit;

-- ----------------------------
-- table structure for act_dmn_databasechangeloglock
-- ----------------------------
drop table if exists `act_dmn_databasechangeloglock`;
create table `act_dmn_databasechangeloglock` (
                                                 `id` int(11) not null,
                                                 `locked` bit(1) not null,
                                                 `lockgranted` datetime default null,
                                                 `lockedby` varchar(255) default null,
                                                 primary key (`id`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_dmn_databasechangeloglock
-- ----------------------------
begin;
insert into `act_dmn_databasechangeloglock` (`id`, `locked`, `lockgranted`, `lockedby`) values (1, b'0', null, null);
commit;

-- ----------------------------
-- table structure for act_dmn_decision
-- ----------------------------
drop table if exists `act_dmn_decision`;
create table `act_dmn_decision` (
                                    `id_` varchar(255) not null,
                                    `name_` varchar(255) default null,
                                    `version_` int(11) default null,
                                    `key_` varchar(255) default null,
                                    `category_` varchar(255) default null,
                                    `deployment_id_` varchar(255) default null,
                                    `tenant_id_` varchar(255) default null,
                                    `resource_name_` varchar(255) default null,
                                    `description_` varchar(255) default null,
                                    `decision_type_` varchar(255) default null,
                                    primary key (`id_`),
                                    unique key `act_idx_dmn_dec_uniq` (`key_`,`version_`,`tenant_id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_dmn_decision
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_dmn_deployment
-- ----------------------------
drop table if exists `act_dmn_deployment`;
create table `act_dmn_deployment` (
                                      `id_` varchar(255) not null,
                                      `name_` varchar(255) default null,
                                      `category_` varchar(255) default null,
                                      `deploy_time_` datetime(3) default null,
                                      `tenant_id_` varchar(255) default null,
                                      `parent_deployment_id_` varchar(255) default null,
                                      primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_dmn_deployment
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_dmn_deployment_resource
-- ----------------------------
drop table if exists `act_dmn_deployment_resource`;
create table `act_dmn_deployment_resource` (
                                               `id_` varchar(255) not null,
                                               `name_` varchar(255) default null,
                                               `deployment_id_` varchar(255) default null,
                                               `resource_bytes_` longblob,
                                               primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_dmn_deployment_resource
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_dmn_hi_decision_execution
-- ----------------------------
drop table if exists `act_dmn_hi_decision_execution`;
create table `act_dmn_hi_decision_execution` (
                                                 `id_` varchar(255) not null,
                                                 `decision_definition_id_` varchar(255) default null,
                                                 `deployment_id_` varchar(255) default null,
                                                 `start_time_` datetime(3) default null,
                                                 `end_time_` datetime(3) default null,
                                                 `instance_id_` varchar(255) default null,
                                                 `execution_id_` varchar(255) default null,
                                                 `activity_id_` varchar(255) default null,
                                                 `failed_` bit(1) default b'0',
                                                 `tenant_id_` varchar(255) default null,
                                                 `execution_json_` longtext,
                                                 `scope_type_` varchar(255) default null,
                                                 primary key (`id_`),
                                                 key `act_idx_dmn_instance_id` (`instance_id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_dmn_hi_decision_execution
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_evt_log
-- ----------------------------
drop table if exists `act_evt_log`;
create table `act_evt_log` (
                               `log_nr_` bigint(20) not null auto_increment,
                               `type_` varchar(64) collate utf8_bin default null,
                               `proc_def_id_` varchar(64) collate utf8_bin default null,
                               `proc_inst_id_` varchar(64) collate utf8_bin default null,
                               `execution_id_` varchar(64) collate utf8_bin default null,
                               `task_id_` varchar(64) collate utf8_bin default null,
                               `time_stamp_` timestamp(3) not null default current_timestamp(3),
                               `user_id_` varchar(255) collate utf8_bin default null,
                               `data_` longblob,
                               `lock_owner_` varchar(255) collate utf8_bin default null,
                               `lock_time_` timestamp(3) null default null,
                               `is_processed_` tinyint(4) default '0',
                               primary key (`log_nr_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_evt_log
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_fo_databasechangelog
-- ----------------------------
drop table if exists `act_fo_databasechangelog`;
create table `act_fo_databasechangelog` (
                                            `id` varchar(255) not null,
                                            `author` varchar(255) not null,
                                            `filename` varchar(255) not null,
                                            `dateexecuted` datetime not null,
                                            `orderexecuted` int(11) not null,
                                            `exectype` varchar(10) not null,
                                            `md5sum` varchar(35) default null,
                                            `description` varchar(255) default null,
                                            `comments` varchar(255) default null,
                                            `tag` varchar(255) default null,
                                            `liquibase` varchar(20) default null,
                                            `contexts` varchar(255) default null,
                                            `labels` varchar(255) default null,
                                            `deployment_id` varchar(10) default null
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_fo_databasechangelog
-- ----------------------------
begin;
insert into `act_fo_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('1', 'activiti', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', '2023-09-14 11:05:25', 1, 'executed', '8:033ebf9380889aed7c453927ecc3250d', 'createtable tablename=act_fo_form_deployment; createtable tablename=act_fo_form_resource; createtable tablename=act_fo_form_definition; createtable tablename=act_fo_form_instance', '', null, '4.3.5', null, null, '4660725875');
insert into `act_fo_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('2', 'flowable', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', '2023-09-14 11:05:25', 2, 'executed', '8:986365ceb40445ce3b27a8e6b40f159b', 'addcolumn tablename=act_fo_form_instance', '', null, '4.3.5', null, null, '4660725875');
insert into `act_fo_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('3', 'flowable', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', '2023-09-14 11:05:25', 3, 'executed', '8:abf482518ceb09830ef674e52c06bf15', 'dropcolumn columnname=parent_deployment_id_, tablename=act_fo_form_definition', '', null, '4.3.5', null, null, '4660725875');
insert into `act_fo_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('4', 'flowable', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', '2023-09-14 11:05:26', 4, 'executed', '8:2087829f22a4b2298dbf530681c74854', 'modifydatatype columnname=deploy_time_, tablename=act_fo_form_deployment; modifydatatype columnname=submitted_date_, tablename=act_fo_form_instance', '', null, '4.3.5', null, null, '4660725875');
insert into `act_fo_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('5', 'flowable', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', '2023-09-14 11:05:26', 5, 'executed', '8:b4be732b89e5ca028bdd520c6ad4d446', 'createindex indexname=act_idx_form_def_uniq, tablename=act_fo_form_definition', '', null, '4.3.5', null, null, '4660725875');
insert into `act_fo_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('6', 'flowable', 'org/flowable/form/db/liquibase/flowable-form-db-changelog.xml', '2023-09-14 11:05:26', 6, 'executed', '8:384bbd364a649b67c3ca1bcb72fe537f', 'createindex indexname=act_idx_form_task, tablename=act_fo_form_instance; createindex indexname=act_idx_form_proc, tablename=act_fo_form_instance; createindex indexname=act_idx_form_scope, tablename=act_fo_form_instance', '', null, '4.3.5', null, null, '4660725875');
commit;

-- ----------------------------
-- table structure for act_fo_databasechangeloglock
-- ----------------------------
drop table if exists `act_fo_databasechangeloglock`;
create table `act_fo_databasechangeloglock` (
                                                `id` int(11) not null,
                                                `locked` bit(1) not null,
                                                `lockgranted` datetime default null,
                                                `lockedby` varchar(255) default null,
                                                primary key (`id`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_fo_databasechangeloglock
-- ----------------------------
begin;
insert into `act_fo_databasechangeloglock` (`id`, `locked`, `lockgranted`, `lockedby`) values (1, b'0', null, null);
commit;

-- ----------------------------
-- table structure for act_fo_form_definition
-- ----------------------------
drop table if exists `act_fo_form_definition`;
create table `act_fo_form_definition` (
                                          `id_` varchar(255) not null,
                                          `name_` varchar(255) default null,
                                          `version_` int(11) default null,
                                          `key_` varchar(255) default null,
                                          `category_` varchar(255) default null,
                                          `deployment_id_` varchar(255) default null,
                                          `tenant_id_` varchar(255) default null,
                                          `resource_name_` varchar(255) default null,
                                          `description_` varchar(255) default null,
                                          primary key (`id_`),
                                          unique key `act_idx_form_def_uniq` (`key_`,`version_`,`tenant_id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_fo_form_definition
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_fo_form_deployment
-- ----------------------------
drop table if exists `act_fo_form_deployment`;
create table `act_fo_form_deployment` (
                                          `id_` varchar(255) not null,
                                          `name_` varchar(255) default null,
                                          `category_` varchar(255) default null,
                                          `deploy_time_` datetime(3) default null,
                                          `tenant_id_` varchar(255) default null,
                                          `parent_deployment_id_` varchar(255) default null,
                                          primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_fo_form_deployment
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_fo_form_instance
-- ----------------------------
drop table if exists `act_fo_form_instance`;
create table `act_fo_form_instance` (
                                        `id_` varchar(255) not null,
                                        `form_definition_id_` varchar(255) not null,
                                        `task_id_` varchar(255) default null,
                                        `proc_inst_id_` varchar(255) default null,
                                        `proc_def_id_` varchar(255) default null,
                                        `submitted_date_` datetime(3) default null,
                                        `submitted_by_` varchar(255) default null,
                                        `form_values_id_` varchar(255) default null,
                                        `tenant_id_` varchar(255) default null,
                                        `scope_id_` varchar(255) default null,
                                        `scope_type_` varchar(255) default null,
                                        `scope_definition_id_` varchar(255) default null,
                                        primary key (`id_`),
                                        key `act_idx_form_task` (`task_id_`),
                                        key `act_idx_form_proc` (`proc_inst_id_`),
                                        key `act_idx_form_scope` (`scope_id_`,`scope_type_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_fo_form_instance
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_fo_form_resource
-- ----------------------------
drop table if exists `act_fo_form_resource`;
create table `act_fo_form_resource` (
                                        `id_` varchar(255) not null,
                                        `name_` varchar(255) default null,
                                        `deployment_id_` varchar(255) default null,
                                        `resource_bytes_` longblob,
                                        primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of act_fo_form_resource
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ge_bytearray
-- ----------------------------
drop table if exists `act_ge_bytearray`;
create table `act_ge_bytearray` (
                                    `id_` varchar(64) collate utf8_bin not null,
                                    `rev_` int(11) default null,
                                    `name_` varchar(255) collate utf8_bin default null,
                                    `deployment_id_` varchar(64) collate utf8_bin default null,
                                    `bytes_` longblob,
                                    `generated_` tinyint(4) default null,
                                    primary key (`id_`),
                                    key `act_fk_bytearr_depl` (`deployment_id_`),
                                    constraint `act_fk_bytearr_depl` foreign key (`deployment_id_`) references `act_re_deployment` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ge_bytearray
-- ----------------------------
begin;
insert into `act_ge_bytearray` (`id_`, `rev_`, `name_`, `deployment_id_`, `bytes_`, `generated_`) values ('2520', 1, 'flow_a9z4w99d.bpmn', '2519',  , 0);
insert into `act_ge_bytearray` (`id_`, `rev_`, `name_`, `deployment_id_`, `bytes_`, `generated_`) values ('2521', 1, 'flow_a9z4w99d.flow_ks2lyz4c.png', '2519',  , 1);
insert into `act_ge_bytearray` (`id_`, `rev_`, `name_`, `deployment_id_`, `bytes_`, `generated_`) values ('2530', 1, 'hist.var-variables', null,  , null);
insert into `act_ge_bytearray` (`id_`, `rev_`, `name_`, `deployment_id_`, `bytes_`, `generated_`) values ('2546', 1, 'hist.var-fields', null,  , null);
insert into `act_ge_bytearray` (`id_`, `rev_`, `name_`, `deployment_id_`, `bytes_`, `generated_`) values ('2568', 1, 'var-variables', null,  , null);
insert into `act_ge_bytearray` (`id_`, `rev_`, `name_`, `deployment_id_`, `bytes_`, `generated_`) values ('2570', 1, 'hist.var-variables', null,  , null);
insert into `act_ge_bytearray` (`id_`, `rev_`, `name_`, `deployment_id_`, `bytes_`, `generated_`) values ('2584', 1, 'var-fields', null,  , null);
insert into `act_ge_bytearray` (`id_`, `rev_`, `name_`, `deployment_id_`, `bytes_`, `generated_`) values ('2586', 1, 'hist.var-fields', null,  , null);
commit;

-- ----------------------------
-- table structure for act_ge_property
-- ----------------------------
drop table if exists `act_ge_property`;
create table `act_ge_property` (
                                   `name_` varchar(64) collate utf8_bin not null,
                                   `value_` varchar(300) collate utf8_bin default null,
                                   `rev_` int(11) default null,
                                   primary key (`name_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ge_property
-- ----------------------------
begin;
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('batch.schema.version', '6.7.2.3', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('cfg.execution-related-entities-count', 'true', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('cfg.task-related-entities-count', 'true', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('common.schema.version', '6.8.0.0', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('entitylink.schema.version', '6.8.0.0', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('eventsubscription.schema.version', '6.8.0.0', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('identitylink.schema.version', '6.8.0.0', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('job.schema.version', '6.8.0.0', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('next.dbid', '7501', 4);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('schema.history', 'upgrade(6.7.2.0->6.8.0.0)', 2);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('schema.version', '6.8.0.0', 2);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('task.schema.version', '6.8.0.0', 1);
insert into `act_ge_property` (`name_`, `value_`, `rev_`) values ('variable.schema.version', '6.8.0.0', 1);
commit;

-- ----------------------------
-- table structure for act_hi_actinst
-- ----------------------------
drop table if exists `act_hi_actinst`;
create table `act_hi_actinst` (
                                  `id_` varchar(64) collate utf8_bin not null,
                                  `rev_` int(11) default '1',
                                  `proc_def_id_` varchar(64) collate utf8_bin not null,
                                  `proc_inst_id_` varchar(64) collate utf8_bin not null,
                                  `execution_id_` varchar(64) collate utf8_bin not null,
                                  `act_id_` varchar(255) collate utf8_bin not null,
                                  `task_id_` varchar(64) collate utf8_bin default null,
                                  `call_proc_inst_id_` varchar(64) collate utf8_bin default null,
                                  `act_name_` varchar(255) collate utf8_bin default null,
                                  `act_type_` varchar(255) collate utf8_bin not null,
                                  `assignee_` varchar(255) collate utf8_bin default null,
                                  `start_time_` datetime(3) not null,
                                  `end_time_` datetime(3) default null,
                                  `transaction_order_` int(11) default null,
                                  `duration_` bigint(20) default null,
                                  `delete_reason_` varchar(4000) collate utf8_bin default null,
                                  `tenant_id_` varchar(255) collate utf8_bin default '',
                                  primary key (`id_`),
                                  key `act_idx_hi_act_inst_start` (`start_time_`),
                                  key `act_idx_hi_act_inst_end` (`end_time_`),
                                  key `act_idx_hi_act_inst_procinst` (`proc_inst_id_`,`act_id_`),
                                  key `act_idx_hi_act_inst_exec` (`execution_id_`,`act_id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_actinst
-- ----------------------------
begin;
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2533', 1, 'flow_ks2lyz4c:2:2522', '2523', '2532', 'start_event', null, null, '开始', 'startevent', null, '2022-12-26 11:28:09.659', '2022-12-26 11:28:09.659', 1, 0, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2534', 1, 'flow_ks2lyz4c:2:2522', '2523', '2532', 'flow_1tumnt6', null, null, null, 'sequenceflow', null, '2022-12-26 11:28:09.659', '2022-12-26 11:28:09.659', 2, 0, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2535', 3, 'flow_ks2lyz4c:2:2522', '2523', '2532', 'activity_1qg9oga', '2536', null, '行政', 'usertask', '1', '2022-12-26 11:28:09.659', '2022-12-26 11:29:12.968', 3, 63309, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2558', 1, 'flow_ks2lyz4c:2:2522', '2523', '2532', 'flow_1xzsicg', null, null, null, 'sequenceflow', null, '2022-12-26 11:29:12.969', '2022-12-26 11:29:12.969', 1, 0, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2559', 3, 'flow_ks2lyz4c:2:2522', '2523', '2532', 'activity_1m9b8mu', '2560', null, '老板', 'usertask', '1', '2022-12-26 11:29:12.969', '2022-12-26 18:54:38.684', 2, 26725715, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2573', 1, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'start_event', null, null, '开始', 'startevent', null, '2022-12-26 11:31:33.717', '2022-12-26 11:31:33.717', 1, 0, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2574', 1, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'flow_1tumnt6', null, null, null, 'sequenceflow', null, '2022-12-26 11:31:33.718', '2022-12-26 11:31:33.718', 2, 0, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2575', 3, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'activity_1qg9oga', '2576', null, '行政', 'usertask', '2', '2022-12-26 11:31:33.718', '2022-12-26 11:32:01.166', 3, 27448, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2598', 1, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'flow_1xzsicg', null, null, null, 'sequenceflow', null, '2022-12-26 11:32:01.166', '2022-12-26 11:32:01.166', 1, 0, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('2599', 1, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'activity_1m9b8mu', '2600', null, '老板', 'usertask', null, '2022-12-26 11:32:01.167', null, 2, null, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('5005', 1, 'flow_ks2lyz4c:2:2522', '2523', '2532', 'flow_16hid0q', null, null, null, 'sequenceflow', null, '2022-12-26 18:54:38.691', '2022-12-26 18:54:38.691', 1, 0, null, '');
insert into `act_hi_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `transaction_order_`, `duration_`, `delete_reason_`, `tenant_id_`) values ('5006', 1, 'flow_ks2lyz4c:2:2522', '2523', '2532', 'event_0pucu17', null, null, '', 'endevent', null, '2022-12-26 18:54:38.692', '2022-12-26 18:54:38.693', 2, 1, null, '');
commit;

-- ----------------------------
-- table structure for act_hi_attachment
-- ----------------------------
drop table if exists `act_hi_attachment`;
create table `act_hi_attachment` (
                                     `id_` varchar(64) collate utf8_bin not null,
                                     `rev_` int(11) default null,
                                     `user_id_` varchar(255) collate utf8_bin default null,
                                     `name_` varchar(255) collate utf8_bin default null,
                                     `description_` varchar(4000) collate utf8_bin default null,
                                     `type_` varchar(255) collate utf8_bin default null,
                                     `task_id_` varchar(64) collate utf8_bin default null,
                                     `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                     `url_` varchar(4000) collate utf8_bin default null,
                                     `content_id_` varchar(64) collate utf8_bin default null,
                                     `time_` datetime(3) default null,
                                     primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_attachment
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_hi_comment
-- ----------------------------
drop table if exists `act_hi_comment`;
create table `act_hi_comment` (
                                  `id_` varchar(64) collate utf8_bin not null,
                                  `type_` varchar(255) collate utf8_bin default null,
                                  `time_` datetime(3) not null,
                                  `user_id_` varchar(255) collate utf8_bin default null,
                                  `task_id_` varchar(64) collate utf8_bin default null,
                                  `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                  `action_` varchar(255) collate utf8_bin default null,
                                  `message_` varchar(4000) collate utf8_bin default null,
                                  `full_msg_` longblob,
                                  primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_comment
-- ----------------------------
begin;
insert into `act_hi_comment` (`id_`, `type_`, `time_`, `user_id_`, `task_id_`, `proc_inst_id_`, `action_`, `message_`, `full_msg_`) values ('2541', '1', '2022-12-26 11:29:12.929', null, '2536', '2523', 'addcomment', 'ddd', 0x646464);
insert into `act_hi_comment` (`id_`, `type_`, `time_`, `user_id_`, `task_id_`, `proc_inst_id_`, `action_`, `message_`, `full_msg_`) values ('2543', 'event', '2022-12-26 11:29:12.946', null, '2536', null, 'adduserlink', '1_|_assignee', null);
insert into `act_hi_comment` (`id_`, `type_`, `time_`, `user_id_`, `task_id_`, `proc_inst_id_`, `action_`, `message_`, `full_msg_`) values ('2581', '1', '2022-12-26 11:32:01.141', null, '2576', '2563', 'addcomment', 'rrrr', 0x72727272);
insert into `act_hi_comment` (`id_`, `type_`, `time_`, `user_id_`, `task_id_`, `proc_inst_id_`, `action_`, `message_`, `full_msg_`) values ('2583', 'event', '2022-12-26 11:32:01.150', null, '2576', null, 'adduserlink', '2_|_assignee', null);
insert into `act_hi_comment` (`id_`, `type_`, `time_`, `user_id_`, `task_id_`, `proc_inst_id_`, `action_`, `message_`, `full_msg_`) values ('5001', '1', '2022-12-26 18:54:38.588', 'admin', '2560', '2523', 'addcomment', 'hhh', 0x686868);
insert into `act_hi_comment` (`id_`, `type_`, `time_`, `user_id_`, `task_id_`, `proc_inst_id_`, `action_`, `message_`, `full_msg_`) values ('5003', 'event', '2022-12-26 18:54:38.622', 'admin', '2560', null, 'adduserlink', '1_|_assignee', null);
commit;

-- ----------------------------
-- table structure for act_hi_detail
-- ----------------------------
drop table if exists `act_hi_detail`;
create table `act_hi_detail` (
                                 `id_` varchar(64) collate utf8_bin not null,
                                 `type_` varchar(255) collate utf8_bin not null,
                                 `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                 `execution_id_` varchar(64) collate utf8_bin default null,
                                 `task_id_` varchar(64) collate utf8_bin default null,
                                 `act_inst_id_` varchar(64) collate utf8_bin default null,
                                 `name_` varchar(255) collate utf8_bin not null,
                                 `var_type_` varchar(255) collate utf8_bin default null,
                                 `rev_` int(11) default null,
                                 `time_` datetime(3) not null,
                                 `bytearray_id_` varchar(64) collate utf8_bin default null,
                                 `double_` double default null,
                                 `long_` bigint(20) default null,
                                 `text_` varchar(4000) collate utf8_bin default null,
                                 `text2_` varchar(4000) collate utf8_bin default null,
                                 primary key (`id_`),
                                 key `act_idx_hi_detail_proc_inst` (`proc_inst_id_`),
                                 key `act_idx_hi_detail_act_inst` (`act_inst_id_`),
                                 key `act_idx_hi_detail_time` (`time_`),
                                 key `act_idx_hi_detail_name` (`name_`),
                                 key `act_idx_hi_detail_task_id` (`task_id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_detail
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_hi_entitylink
-- ----------------------------
drop table if exists `act_hi_entitylink`;
create table `act_hi_entitylink` (
                                     `id_` varchar(64) collate utf8_bin not null,
                                     `link_type_` varchar(255) collate utf8_bin default null,
                                     `create_time_` datetime(3) default null,
                                     `scope_id_` varchar(255) collate utf8_bin default null,
                                     `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                     `scope_type_` varchar(255) collate utf8_bin default null,
                                     `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                     `parent_element_id_` varchar(255) collate utf8_bin default null,
                                     `ref_scope_id_` varchar(255) collate utf8_bin default null,
                                     `ref_scope_type_` varchar(255) collate utf8_bin default null,
                                     `ref_scope_definition_id_` varchar(255) collate utf8_bin default null,
                                     `root_scope_id_` varchar(255) collate utf8_bin default null,
                                     `root_scope_type_` varchar(255) collate utf8_bin default null,
                                     `hierarchy_type_` varchar(255) collate utf8_bin default null,
                                     primary key (`id_`),
                                     key `act_idx_hi_ent_lnk_scope` (`scope_id_`,`scope_type_`,`link_type_`),
                                     key `act_idx_hi_ent_lnk_ref_scope` (`ref_scope_id_`,`ref_scope_type_`,`link_type_`),
                                     key `act_idx_hi_ent_lnk_root_scope` (`root_scope_id_`,`root_scope_type_`,`link_type_`),
                                     key `act_idx_hi_ent_lnk_scope_def` (`scope_definition_id_`,`scope_type_`,`link_type_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_entitylink
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_hi_identitylink
-- ----------------------------
drop table if exists `act_hi_identitylink`;
create table `act_hi_identitylink` (
                                       `id_` varchar(64) collate utf8_bin not null,
                                       `group_id_` varchar(255) collate utf8_bin default null,
                                       `type_` varchar(255) collate utf8_bin default null,
                                       `user_id_` varchar(255) collate utf8_bin default null,
                                       `task_id_` varchar(64) collate utf8_bin default null,
                                       `create_time_` datetime(3) default null,
                                       `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                       `scope_id_` varchar(255) collate utf8_bin default null,
                                       `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                       `scope_type_` varchar(255) collate utf8_bin default null,
                                       `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                       primary key (`id_`),
                                       key `act_idx_hi_ident_lnk_user` (`user_id_`),
                                       key `act_idx_hi_ident_lnk_scope` (`scope_id_`,`scope_type_`),
                                       key `act_idx_hi_ident_lnk_sub_scope` (`sub_scope_id_`,`scope_type_`),
                                       key `act_idx_hi_ident_lnk_scope_def` (`scope_definition_id_`,`scope_type_`),
                                       key `act_idx_hi_ident_lnk_task` (`task_id_`),
                                       key `act_idx_hi_ident_lnk_procinst` (`proc_inst_id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_identitylink
-- ----------------------------
begin;
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2524', null, 'starter', '1', null, '2022-12-26 11:28:09.658', '2523', null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2537', null, 'candidate', '1', '2536', '2022-12-26 11:28:09.660', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2538', null, 'participant', '1', null, '2022-12-26 11:28:09.660', '2523', null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2539', null, 'candidate', '2', '2536', '2022-12-26 11:28:09.660', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2540', null, 'participant', '2', null, '2022-12-26 11:28:09.660', '2523', null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2542', null, 'assignee', '1', '2536', '2022-12-26 11:29:12.943', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2561', '1', 'candidate', null, '2560', '2022-12-26 11:29:12.973', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2562', '2', 'candidate', null, '2560', '2022-12-26 11:29:12.973', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2564', null, 'starter', '1', null, '2022-12-26 11:31:33.717', '2563', null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2577', null, 'candidate', '1', '2576', '2022-12-26 11:31:33.718', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2578', null, 'participant', '1', null, '2022-12-26 11:31:33.718', '2563', null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2579', null, 'candidate', '2', '2576', '2022-12-26 11:31:33.718', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2580', null, 'participant', '2', null, '2022-12-26 11:31:33.718', '2563', null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2582', null, 'assignee', '2', '2576', '2022-12-26 11:32:01.148', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2601', '2', 'candidate', null, '2600', '2022-12-26 11:32:01.168', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('5002', null, 'assignee', '1', '2560', '2022-12-26 18:54:38.616', null, null, null, null, null);
insert into `act_hi_identitylink` (`id_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `create_time_`, `proc_inst_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('5004', null, 'participant', 'admin', null, '2022-12-26 18:54:38.671', '2523', null, null, null, null);
commit;

-- ----------------------------
-- table structure for act_hi_procinst
-- ----------------------------
drop table if exists `act_hi_procinst`;
create table `act_hi_procinst` (
                                   `id_` varchar(64) collate utf8_bin not null,
                                   `rev_` int(11) default '1',
                                   `proc_inst_id_` varchar(64) collate utf8_bin not null,
                                   `business_key_` varchar(255) collate utf8_bin default null,
                                   `proc_def_id_` varchar(64) collate utf8_bin not null,
                                   `start_time_` datetime(3) not null,
                                   `end_time_` datetime(3) default null,
                                   `duration_` bigint(20) default null,
                                   `start_user_id_` varchar(255) collate utf8_bin default null,
                                   `start_act_id_` varchar(255) collate utf8_bin default null,
                                   `end_act_id_` varchar(255) collate utf8_bin default null,
                                   `super_process_instance_id_` varchar(64) collate utf8_bin default null,
                                   `delete_reason_` varchar(4000) collate utf8_bin default null,
                                   `tenant_id_` varchar(255) collate utf8_bin default '',
                                   `name_` varchar(255) collate utf8_bin default null,
                                   `callback_id_` varchar(255) collate utf8_bin default null,
                                   `callback_type_` varchar(255) collate utf8_bin default null,
                                   `reference_id_` varchar(255) collate utf8_bin default null,
                                   `reference_type_` varchar(255) collate utf8_bin default null,
                                   `propagated_stage_inst_id_` varchar(255) collate utf8_bin default null,
                                   `business_status_` varchar(255) collate utf8_bin default null,
                                   primary key (`id_`),
                                   unique key `proc_inst_id_` (`proc_inst_id_`),
                                   key `act_idx_hi_pro_inst_end` (`end_time_`),
                                   key `act_idx_hi_pro_i_buskey` (`business_key_`),
                                   key `act_idx_hi_pro_super_procinst` (`super_process_instance_id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_procinst
-- ----------------------------
begin;
insert into `act_hi_procinst` (`id_`, `rev_`, `proc_inst_id_`, `business_key_`, `proc_def_id_`, `start_time_`, `end_time_`, `duration_`, `start_user_id_`, `start_act_id_`, `end_act_id_`, `super_process_instance_id_`, `delete_reason_`, `tenant_id_`, `name_`, `callback_id_`, `callback_type_`, `reference_id_`, `reference_type_`, `propagated_stage_inst_id_`, `business_status_`) values ('2523', 2, '2523', null, 'flow_ks2lyz4c:2:2522', '2022-12-26 11:28:09.658', '2022-12-26 18:54:38.715', 26789057, '1', 'start_event', 'event_0pucu17', null, null, '', null, null, null, null, null, null, null);
insert into `act_hi_procinst` (`id_`, `rev_`, `proc_inst_id_`, `business_key_`, `proc_def_id_`, `start_time_`, `end_time_`, `duration_`, `start_user_id_`, `start_act_id_`, `end_act_id_`, `super_process_instance_id_`, `delete_reason_`, `tenant_id_`, `name_`, `callback_id_`, `callback_type_`, `reference_id_`, `reference_type_`, `propagated_stage_inst_id_`, `business_status_`) values ('2563', 1, '2563', null, 'flow_ks2lyz4c:2:2522', '2022-12-26 11:31:33.717', null, null, '1', 'start_event', null, null, null, '', null, null, null, null, null, null, null);
commit;

-- ----------------------------
-- table structure for act_hi_taskinst
-- ----------------------------
drop table if exists `act_hi_taskinst`;
create table `act_hi_taskinst` (
                                   `id_` varchar(64) collate utf8_bin not null,
                                   `rev_` int(11) default '1',
                                   `proc_def_id_` varchar(64) collate utf8_bin default null,
                                   `task_def_id_` varchar(64) collate utf8_bin default null,
                                   `task_def_key_` varchar(255) collate utf8_bin default null,
                                   `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                   `execution_id_` varchar(64) collate utf8_bin default null,
                                   `scope_id_` varchar(255) collate utf8_bin default null,
                                   `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                   `scope_type_` varchar(255) collate utf8_bin default null,
                                   `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                   `propagated_stage_inst_id_` varchar(255) collate utf8_bin default null,
                                   `name_` varchar(255) collate utf8_bin default null,
                                   `parent_task_id_` varchar(64) collate utf8_bin default null,
                                   `description_` varchar(4000) collate utf8_bin default null,
                                   `owner_` varchar(255) collate utf8_bin default null,
                                   `assignee_` varchar(255) collate utf8_bin default null,
                                   `start_time_` datetime(3) not null,
                                   `claim_time_` datetime(3) default null,
                                   `end_time_` datetime(3) default null,
                                   `duration_` bigint(20) default null,
                                   `delete_reason_` varchar(4000) collate utf8_bin default null,
                                   `priority_` int(11) default null,
                                   `due_date_` datetime(3) default null,
                                   `form_key_` varchar(255) collate utf8_bin default null,
                                   `category_` varchar(255) collate utf8_bin default null,
                                   `tenant_id_` varchar(255) collate utf8_bin default '',
                                   `last_updated_time_` datetime(3) default null,
                                   primary key (`id_`),
                                   key `act_idx_hi_task_scope` (`scope_id_`,`scope_type_`),
                                   key `act_idx_hi_task_sub_scope` (`sub_scope_id_`,`scope_type_`),
                                   key `act_idx_hi_task_scope_def` (`scope_definition_id_`,`scope_type_`),
                                   key `act_idx_hi_task_inst_procinst` (`proc_inst_id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_taskinst
-- ----------------------------
begin;
insert into `act_hi_taskinst` (`id_`, `rev_`, `proc_def_id_`, `task_def_id_`, `task_def_key_`, `proc_inst_id_`, `execution_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`, `propagated_stage_inst_id_`, `name_`, `parent_task_id_`, `description_`, `owner_`, `assignee_`, `start_time_`, `claim_time_`, `end_time_`, `duration_`, `delete_reason_`, `priority_`, `due_date_`, `form_key_`, `category_`, `tenant_id_`, `last_updated_time_`) values ('2536', 3, 'flow_ks2lyz4c:2:2522', null, 'activity_1qg9oga', '2523', '2532', null, null, null, null, null, '行政', null, null, null, '1', '2022-12-26 11:28:09.659', null, '2022-12-26 11:29:12.964', 63305, null, 50, null, null, null, '', '2022-12-26 11:29:12.964');
insert into `act_hi_taskinst` (`id_`, `rev_`, `proc_def_id_`, `task_def_id_`, `task_def_key_`, `proc_inst_id_`, `execution_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`, `propagated_stage_inst_id_`, `name_`, `parent_task_id_`, `description_`, `owner_`, `assignee_`, `start_time_`, `claim_time_`, `end_time_`, `duration_`, `delete_reason_`, `priority_`, `due_date_`, `form_key_`, `category_`, `tenant_id_`, `last_updated_time_`) values ('2560', 3, 'flow_ks2lyz4c:2:2522', null, 'activity_1m9b8mu', '2523', '2532', null, null, null, null, null, '老板', null, null, null, '1', '2022-12-26 11:29:12.969', null, '2022-12-26 18:54:38.676', 26725707, null, 50, null, null, null, '', '2022-12-26 18:54:38.676');
insert into `act_hi_taskinst` (`id_`, `rev_`, `proc_def_id_`, `task_def_id_`, `task_def_key_`, `proc_inst_id_`, `execution_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`, `propagated_stage_inst_id_`, `name_`, `parent_task_id_`, `description_`, `owner_`, `assignee_`, `start_time_`, `claim_time_`, `end_time_`, `duration_`, `delete_reason_`, `priority_`, `due_date_`, `form_key_`, `category_`, `tenant_id_`, `last_updated_time_`) values ('2576', 3, 'flow_ks2lyz4c:2:2522', null, 'activity_1qg9oga', '2563', '2572', null, null, null, null, null, '行政', null, null, null, '2', '2022-12-26 11:31:33.718', null, '2022-12-26 11:32:01.163', 27445, null, 50, null, null, null, '', '2022-12-26 11:32:01.163');
insert into `act_hi_taskinst` (`id_`, `rev_`, `proc_def_id_`, `task_def_id_`, `task_def_key_`, `proc_inst_id_`, `execution_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`, `propagated_stage_inst_id_`, `name_`, `parent_task_id_`, `description_`, `owner_`, `assignee_`, `start_time_`, `claim_time_`, `end_time_`, `duration_`, `delete_reason_`, `priority_`, `due_date_`, `form_key_`, `category_`, `tenant_id_`, `last_updated_time_`) values ('2600', 1, 'flow_ks2lyz4c:2:2522', null, 'activity_1m9b8mu', '2563', '2572', null, null, null, null, null, '老板', null, null, null, null, '2022-12-26 11:32:01.167', null, null, null, null, 50, null, null, null, '', '2022-12-26 11:32:01.167');
commit;

-- ----------------------------
-- table structure for act_hi_tsk_log
-- ----------------------------
drop table if exists `act_hi_tsk_log`;
create table `act_hi_tsk_log` (
                                  `id_` bigint(20) not null auto_increment,
                                  `type_` varchar(64) collate utf8_bin default null,
                                  `task_id_` varchar(64) collate utf8_bin not null,
                                  `time_stamp_` timestamp(3) not null default current_timestamp(3) on update current_timestamp(3),
                                  `user_id_` varchar(255) collate utf8_bin default null,
                                  `data_` varchar(4000) collate utf8_bin default null,
                                  `execution_id_` varchar(64) collate utf8_bin default null,
                                  `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                  `proc_def_id_` varchar(64) collate utf8_bin default null,
                                  `scope_id_` varchar(255) collate utf8_bin default null,
                                  `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                  `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                  `scope_type_` varchar(255) collate utf8_bin default null,
                                  `tenant_id_` varchar(255) collate utf8_bin default '',
                                  primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_tsk_log
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_hi_varinst
-- ----------------------------
drop table if exists `act_hi_varinst`;
create table `act_hi_varinst` (
                                  `id_` varchar(64) collate utf8_bin not null,
                                  `rev_` int(11) default '1',
                                  `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                  `execution_id_` varchar(64) collate utf8_bin default null,
                                  `task_id_` varchar(64) collate utf8_bin default null,
                                  `name_` varchar(255) collate utf8_bin not null,
                                  `var_type_` varchar(100) collate utf8_bin default null,
                                  `scope_id_` varchar(255) collate utf8_bin default null,
                                  `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                  `scope_type_` varchar(255) collate utf8_bin default null,
                                  `bytearray_id_` varchar(64) collate utf8_bin default null,
                                  `double_` double default null,
                                  `long_` bigint(20) default null,
                                  `text_` varchar(4000) collate utf8_bin default null,
                                  `text2_` varchar(4000) collate utf8_bin default null,
                                  `create_time_` datetime(3) default null,
                                  `last_updated_time_` datetime(3) default null,
                                  primary key (`id_`),
                                  key `act_idx_hi_procvar_name_type` (`name_`,`var_type_`),
                                  key `act_idx_hi_var_scope_id_type` (`scope_id_`,`scope_type_`),
                                  key `act_idx_hi_var_sub_id_type` (`sub_scope_id_`,`scope_type_`),
                                  key `act_idx_hi_procvar_proc_inst` (`proc_inst_id_`),
                                  key `act_idx_hi_procvar_task_id` (`task_id_`),
                                  key `act_idx_hi_procvar_exe` (`execution_id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_hi_varinst
-- ----------------------------
begin;
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2525', 0, '2523', '2523', null, 'field101', 'string', null, null, null, null, null, null, '测试', null, '2022-12-26 11:28:09.659', '2022-12-26 11:28:09.659');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2526', 0, '2523', '2523', null, 'day', 'string', null, null, null, null, null, null, '3', null, '2022-12-26 11:28:09.659', '2022-12-26 11:28:09.659');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2527', 0, '2523', '2523', null, 'field102', 'string', null, null, null, null, null, null, 'test', null, '2022-12-26 11:28:09.659', '2022-12-26 11:28:09.659');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2529', 0, '2523', '2523', null, 'variables', 'serializable', null, null, null, '2530', null, null, null, null, '2022-12-26 11:28:09.659', '2022-12-26 11:28:09.659');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2531', 0, '2523', '2523', null, 'initiator', 'long', null, null, null, null, null, 1, '1', null, '2022-12-26 11:28:09.659', '2022-12-26 11:28:09.659');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2545', 1, '2523', '2523', null, 'fields', 'serializable', null, null, null, '2546', null, null, null, null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.656');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2547', 1, '2523', '2523', null, 'formref', 'string', null, null, null, null, null, null, 'elform', null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.659');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2548', 1, '2523', '2523', null, 'formmodel', 'string', null, null, null, null, null, null, 'formdata', null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.661');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2549', 1, '2523', '2523', null, 'size', 'string', null, null, null, null, null, null, 'medium', null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.662');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2550', 1, '2523', '2523', null, 'labelposition', 'string', null, null, null, null, null, null, 'right', null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.663');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2551', 1, '2523', '2523', null, 'labelwidth', 'integer', null, null, null, null, null, 100, '100', null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.665');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2552', 1, '2523', '2523', null, 'formrules', 'string', null, null, null, null, null, null, 'rules', null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.665');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2553', 1, '2523', '2523', null, 'gutter', 'integer', null, null, null, null, null, 15, '15', null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.666');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2554', 1, '2523', '2523', null, 'disabled', 'boolean', null, null, null, null, null, 1, null, null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.667');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2555', 1, '2523', '2523', null, 'span', 'integer', null, null, null, null, null, 24, '24', null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.668');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2556', 1, '2523', '2523', null, 'formbtns', 'boolean', null, null, null, null, null, 0, null, null, '2022-12-26 11:29:12.962', '2022-12-26 18:54:38.669');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2557', 0, '2523', '2523', null, 'approval', 'string', null, null, null, null, null, null, '1,2', null, '2022-12-26 11:29:12.963', '2022-12-26 11:29:12.963');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2565', 0, '2563', '2563', null, 'field101', 'string', null, null, null, null, null, null, 'jinttt', null, '2022-12-26 11:31:33.717', '2022-12-26 11:31:33.717');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2566', 0, '2563', '2563', null, 'day', 'string', null, null, null, null, null, null, '4', null, '2022-12-26 11:31:33.717', '2022-12-26 11:31:33.717');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2567', 0, '2563', '2563', null, 'field102', 'string', null, null, null, null, null, null, 'ttt', null, '2022-12-26 11:31:33.717', '2022-12-26 11:31:33.717');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2569', 0, '2563', '2563', null, 'variables', 'serializable', null, null, null, '2570', null, null, null, null, '2022-12-26 11:31:33.717', '2022-12-26 11:31:33.717');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2571', 0, '2563', '2563', null, 'initiator', 'long', null, null, null, null, null, 1, '1', null, '2022-12-26 11:31:33.717', '2022-12-26 11:31:33.717');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2585', 0, '2563', '2563', null, 'fields', 'serializable', null, null, null, '2586', null, null, null, null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2587', 0, '2563', '2563', null, 'formref', 'string', null, null, null, null, null, null, 'elform', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2588', 0, '2563', '2563', null, 'formmodel', 'string', null, null, null, null, null, null, 'formdata', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2589', 0, '2563', '2563', null, 'size', 'string', null, null, null, null, null, null, 'medium', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2590', 0, '2563', '2563', null, 'labelposition', 'string', null, null, null, null, null, null, 'right', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2591', 0, '2563', '2563', null, 'labelwidth', 'integer', null, null, null, null, null, 100, '100', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2592', 0, '2563', '2563', null, 'formrules', 'string', null, null, null, null, null, null, 'rules', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2593', 0, '2563', '2563', null, 'gutter', 'integer', null, null, null, null, null, 15, '15', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2594', 0, '2563', '2563', null, 'disabled', 'boolean', null, null, null, null, null, 1, null, null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2595', 0, '2563', '2563', null, 'span', 'integer', null, null, null, null, null, 24, '24', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2596', 0, '2563', '2563', null, 'formbtns', 'boolean', null, null, null, null, null, 0, null, null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
insert into `act_hi_varinst` (`id_`, `rev_`, `proc_inst_id_`, `execution_id_`, `task_id_`, `name_`, `var_type_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`, `create_time_`, `last_updated_time_`) values ('2597', 0, '2563', '2563', null, 'approval', 'string', null, null, null, null, null, null, '2', null, '2022-12-26 11:32:01.162', '2022-12-26 11:32:01.162');
commit;

-- ----------------------------
-- table structure for act_id_bytearray
-- ----------------------------
drop table if exists `act_id_bytearray`;
create table `act_id_bytearray` (
                                    `id_` varchar(64) collate utf8_bin not null,
                                    `rev_` int(11) default null,
                                    `name_` varchar(255) collate utf8_bin default null,
                                    `bytes_` longblob,
                                    primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_bytearray
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_id_group
-- ----------------------------
drop table if exists `act_id_group`;
create table `act_id_group` (
                                `id_` varchar(64) collate utf8_bin not null,
                                `rev_` int(11) default null,
                                `name_` varchar(255) collate utf8_bin default null,
                                `type_` varchar(255) collate utf8_bin default null,
                                primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_group
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_id_info
-- ----------------------------
drop table if exists `act_id_info`;
create table `act_id_info` (
                               `id_` varchar(64) collate utf8_bin not null,
                               `rev_` int(11) default null,
                               `user_id_` varchar(64) collate utf8_bin default null,
                               `type_` varchar(64) collate utf8_bin default null,
                               `key_` varchar(255) collate utf8_bin default null,
                               `value_` varchar(255) collate utf8_bin default null,
                               `password_` longblob,
                               `parent_id_` varchar(255) collate utf8_bin default null,
                               primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_info
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_id_membership
-- ----------------------------
drop table if exists `act_id_membership`;
create table `act_id_membership` (
                                     `user_id_` varchar(64) collate utf8_bin not null,
                                     `group_id_` varchar(64) collate utf8_bin not null,
                                     primary key (`user_id_`,`group_id_`),
                                     key `act_fk_memb_group` (`group_id_`),
                                     constraint `act_fk_memb_group` foreign key (`group_id_`) references `act_id_group` (`id_`),
                                     constraint `act_fk_memb_user` foreign key (`user_id_`) references `act_id_user` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_membership
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_id_priv
-- ----------------------------
drop table if exists `act_id_priv`;
create table `act_id_priv` (
                               `id_` varchar(64) collate utf8_bin not null,
                               `name_` varchar(255) collate utf8_bin not null,
                               primary key (`id_`),
                               unique key `act_uniq_priv_name` (`name_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_priv
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_id_priv_mapping
-- ----------------------------
drop table if exists `act_id_priv_mapping`;
create table `act_id_priv_mapping` (
                                       `id_` varchar(64) collate utf8_bin not null,
                                       `priv_id_` varchar(64) collate utf8_bin not null,
                                       `user_id_` varchar(255) collate utf8_bin default null,
                                       `group_id_` varchar(255) collate utf8_bin default null,
                                       primary key (`id_`),
                                       key `act_fk_priv_mapping` (`priv_id_`),
                                       key `act_idx_priv_user` (`user_id_`),
                                       key `act_idx_priv_group` (`group_id_`),
                                       constraint `act_fk_priv_mapping` foreign key (`priv_id_`) references `act_id_priv` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_priv_mapping
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_id_property
-- ----------------------------
drop table if exists `act_id_property`;
create table `act_id_property` (
                                   `name_` varchar(64) collate utf8_bin not null,
                                   `value_` varchar(300) collate utf8_bin default null,
                                   `rev_` int(11) default null,
                                   primary key (`name_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_property
-- ----------------------------
begin;
insert into `act_id_property` (`name_`, `value_`, `rev_`) values ('schema.version', '6.8.0.0', 1);
commit;

-- ----------------------------
-- table structure for act_id_token
-- ----------------------------
drop table if exists `act_id_token`;
create table `act_id_token` (
                                `id_` varchar(64) collate utf8_bin not null,
                                `rev_` int(11) default null,
                                `token_value_` varchar(255) collate utf8_bin default null,
                                `token_date_` timestamp(3) not null default current_timestamp(3) on update current_timestamp(3),
                                `ip_address_` varchar(255) collate utf8_bin default null,
                                `user_agent_` varchar(255) collate utf8_bin default null,
                                `user_id_` varchar(255) collate utf8_bin default null,
                                `token_data_` varchar(2000) collate utf8_bin default null,
                                primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_token
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_id_user
-- ----------------------------
drop table if exists `act_id_user`;
create table `act_id_user` (
                               `id_` varchar(64) collate utf8_bin not null,
                               `rev_` int(11) default null,
                               `first_` varchar(255) collate utf8_bin default null,
                               `last_` varchar(255) collate utf8_bin default null,
                               `display_name_` varchar(255) collate utf8_bin default null,
                               `email_` varchar(255) collate utf8_bin default null,
                               `pwd_` varchar(255) collate utf8_bin default null,
                               `picture_id_` varchar(64) collate utf8_bin default null,
                               `tenant_id_` varchar(255) collate utf8_bin default '',
                               primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_id_user
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_procdef_info
-- ----------------------------
drop table if exists `act_procdef_info`;
create table `act_procdef_info` (
                                    `id_` varchar(64) collate utf8_bin not null,
                                    `proc_def_id_` varchar(64) collate utf8_bin not null,
                                    `rev_` int(11) default null,
                                    `info_json_id_` varchar(64) collate utf8_bin default null,
                                    primary key (`id_`),
                                    unique key `act_uniq_info_procdef` (`proc_def_id_`),
                                    key `act_idx_info_procdef` (`proc_def_id_`),
                                    key `act_fk_info_json_ba` (`info_json_id_`),
                                    constraint `act_fk_info_json_ba` foreign key (`info_json_id_`) references `act_ge_bytearray` (`id_`),
                                    constraint `act_fk_info_procdef` foreign key (`proc_def_id_`) references `act_re_procdef` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_procdef_info
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_re_deployment
-- ----------------------------
drop table if exists `act_re_deployment`;
create table `act_re_deployment` (
                                     `id_` varchar(64) collate utf8_bin not null,
                                     `name_` varchar(255) collate utf8_bin default null,
                                     `category_` varchar(255) collate utf8_bin default null,
                                     `key_` varchar(255) collate utf8_bin default null,
                                     `tenant_id_` varchar(255) collate utf8_bin default '',
                                     `deploy_time_` timestamp(3) null default null,
                                     `derived_from_` varchar(64) collate utf8_bin default null,
                                     `derived_from_root_` varchar(64) collate utf8_bin default null,
                                     `parent_deployment_id_` varchar(255) collate utf8_bin default null,
                                     `engine_version_` varchar(255) collate utf8_bin default null,
                                     primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_re_deployment
-- ----------------------------
begin;
insert into `act_re_deployment` (`id_`, `name_`, `category_`, `key_`, `tenant_id_`, `deploy_time_`, `derived_from_`, `derived_from_root_`, `parent_deployment_id_`, `engine_version_`) values ('2519', 'flow_a9z4w99d', 'oa', null, '', '2022-12-26 11:27:34.708', null, null, '2519', null);
commit;

-- ----------------------------
-- table structure for act_re_model
-- ----------------------------
drop table if exists `act_re_model`;
create table `act_re_model` (
                                `id_` varchar(64) collate utf8_bin not null,
                                `rev_` int(11) default null,
                                `name_` varchar(255) collate utf8_bin default null,
                                `key_` varchar(255) collate utf8_bin default null,
                                `category_` varchar(255) collate utf8_bin default null,
                                `create_time_` timestamp(3) null default null,
                                `last_update_time_` timestamp(3) null default null,
                                `version_` int(11) default null,
                                `meta_info_` varchar(4000) collate utf8_bin default null,
                                `deployment_id_` varchar(64) collate utf8_bin default null,
                                `editor_source_value_id_` varchar(64) collate utf8_bin default null,
                                `editor_source_extra_value_id_` varchar(64) collate utf8_bin default null,
                                `tenant_id_` varchar(255) collate utf8_bin default '',
                                primary key (`id_`),
                                key `act_fk_model_source` (`editor_source_value_id_`),
                                key `act_fk_model_source_extra` (`editor_source_extra_value_id_`),
                                key `act_fk_model_deployment` (`deployment_id_`),
                                constraint `act_fk_model_deployment` foreign key (`deployment_id_`) references `act_re_deployment` (`id_`),
                                constraint `act_fk_model_source` foreign key (`editor_source_value_id_`) references `act_ge_bytearray` (`id_`),
                                constraint `act_fk_model_source_extra` foreign key (`editor_source_extra_value_id_`) references `act_ge_bytearray` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_re_model
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_re_procdef
-- ----------------------------
drop table if exists `act_re_procdef`;
create table `act_re_procdef` (
                                  `id_` varchar(64) collate utf8_bin not null,
                                  `rev_` int(11) default null,
                                  `category_` varchar(255) collate utf8_bin default null,
                                  `name_` varchar(255) collate utf8_bin default null,
                                  `key_` varchar(255) collate utf8_bin not null,
                                  `version_` int(11) not null,
                                  `deployment_id_` varchar(64) collate utf8_bin default null,
                                  `resource_name_` varchar(4000) collate utf8_bin default null,
                                  `dgrm_resource_name_` varchar(4000) collate utf8_bin default null,
                                  `description_` varchar(4000) collate utf8_bin default null,
                                  `has_start_form_key_` tinyint(4) default null,
                                  `has_graphical_notation_` tinyint(4) default null,
                                  `suspension_state_` int(11) default null,
                                  `tenant_id_` varchar(255) collate utf8_bin default '',
                                  `engine_version_` varchar(255) collate utf8_bin default null,
                                  `derived_from_` varchar(64) collate utf8_bin default null,
                                  `derived_from_root_` varchar(64) collate utf8_bin default null,
                                  `derived_version_` int(11) not null default '0',
                                  primary key (`id_`),
                                  unique key `act_uniq_procdef` (`key_`,`version_`,`derived_version_`,`tenant_id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_re_procdef
-- ----------------------------
begin;
insert into `act_re_procdef` (`id_`, `rev_`, `category_`, `name_`, `key_`, `version_`, `deployment_id_`, `resource_name_`, `dgrm_resource_name_`, `description_`, `has_start_form_key_`, `has_graphical_notation_`, `suspension_state_`, `tenant_id_`, `engine_version_`, `derived_from_`, `derived_from_root_`, `derived_version_`) values ('flow_ks2lyz4c:2:2522', 2, 'oa', 'flow_a9z4w99d', 'flow_ks2lyz4c', 2, '2519', 'flow_a9z4w99d.bpmn', 'flow_a9z4w99d.flow_ks2lyz4c.png', null, 0, 1, 1, '', null, null, null, 0);
commit;

-- ----------------------------
-- table structure for act_ru_actinst
-- ----------------------------
drop table if exists `act_ru_actinst`;
create table `act_ru_actinst` (
                                  `id_` varchar(64) collate utf8_bin not null,
                                  `rev_` int(11) default '1',
                                  `proc_def_id_` varchar(64) collate utf8_bin not null,
                                  `proc_inst_id_` varchar(64) collate utf8_bin not null,
                                  `execution_id_` varchar(64) collate utf8_bin not null,
                                  `act_id_` varchar(255) collate utf8_bin not null,
                                  `task_id_` varchar(64) collate utf8_bin default null,
                                  `call_proc_inst_id_` varchar(64) collate utf8_bin default null,
                                  `act_name_` varchar(255) collate utf8_bin default null,
                                  `act_type_` varchar(255) collate utf8_bin not null,
                                  `assignee_` varchar(255) collate utf8_bin default null,
                                  `start_time_` datetime(3) not null,
                                  `end_time_` datetime(3) default null,
                                  `duration_` bigint(20) default null,
                                  `transaction_order_` int(11) default null,
                                  `delete_reason_` varchar(4000) collate utf8_bin default null,
                                  `tenant_id_` varchar(255) collate utf8_bin default '',
                                  primary key (`id_`),
                                  key `act_idx_ru_acti_start` (`start_time_`),
                                  key `act_idx_ru_acti_end` (`end_time_`),
                                  key `act_idx_ru_acti_proc` (`proc_inst_id_`),
                                  key `act_idx_ru_acti_proc_act` (`proc_inst_id_`,`act_id_`),
                                  key `act_idx_ru_acti_exec` (`execution_id_`),
                                  key `act_idx_ru_acti_exec_act` (`execution_id_`,`act_id_`),
                                  key `act_idx_ru_acti_task` (`task_id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_actinst
-- ----------------------------
begin;
insert into `act_ru_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `duration_`, `transaction_order_`, `delete_reason_`, `tenant_id_`) values ('2573', 1, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'start_event', null, null, '开始', 'startevent', null, '2022-12-26 11:31:33.717', '2022-12-26 11:31:33.717', 0, 1, null, '');
insert into `act_ru_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `duration_`, `transaction_order_`, `delete_reason_`, `tenant_id_`) values ('2574', 1, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'flow_1tumnt6', null, null, null, 'sequenceflow', null, '2022-12-26 11:31:33.718', '2022-12-26 11:31:33.718', 0, 2, null, '');
insert into `act_ru_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `duration_`, `transaction_order_`, `delete_reason_`, `tenant_id_`) values ('2575', 3, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'activity_1qg9oga', '2576', null, '行政', 'usertask', '2', '2022-12-26 11:31:33.718', '2022-12-26 11:32:01.166', 27448, 3, null, '');
insert into `act_ru_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `duration_`, `transaction_order_`, `delete_reason_`, `tenant_id_`) values ('2598', 1, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'flow_1xzsicg', null, null, null, 'sequenceflow', null, '2022-12-26 11:32:01.166', '2022-12-26 11:32:01.166', 0, 1, null, '');
insert into `act_ru_actinst` (`id_`, `rev_`, `proc_def_id_`, `proc_inst_id_`, `execution_id_`, `act_id_`, `task_id_`, `call_proc_inst_id_`, `act_name_`, `act_type_`, `assignee_`, `start_time_`, `end_time_`, `duration_`, `transaction_order_`, `delete_reason_`, `tenant_id_`) values ('2599', 1, 'flow_ks2lyz4c:2:2522', '2563', '2572', 'activity_1m9b8mu', '2600', null, '老板', 'usertask', null, '2022-12-26 11:32:01.167', null, null, 2, null, '');
commit;

-- ----------------------------
-- table structure for act_ru_deadletter_job
-- ----------------------------
drop table if exists `act_ru_deadletter_job`;
create table `act_ru_deadletter_job` (
                                         `id_` varchar(64) collate utf8_bin not null,
                                         `rev_` int(11) default null,
                                         `category_` varchar(255) collate utf8_bin default null,
                                         `type_` varchar(255) collate utf8_bin not null,
                                         `exclusive_` tinyint(1) default null,
                                         `execution_id_` varchar(64) collate utf8_bin default null,
                                         `process_instance_id_` varchar(64) collate utf8_bin default null,
                                         `proc_def_id_` varchar(64) collate utf8_bin default null,
                                         `element_id_` varchar(255) collate utf8_bin default null,
                                         `element_name_` varchar(255) collate utf8_bin default null,
                                         `scope_id_` varchar(255) collate utf8_bin default null,
                                         `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                         `scope_type_` varchar(255) collate utf8_bin default null,
                                         `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                         `correlation_id_` varchar(255) collate utf8_bin default null,
                                         `exception_stack_id_` varchar(64) collate utf8_bin default null,
                                         `exception_msg_` varchar(4000) collate utf8_bin default null,
                                         `duedate_` timestamp(3) null default null,
                                         `repeat_` varchar(255) collate utf8_bin default null,
                                         `handler_type_` varchar(255) collate utf8_bin default null,
                                         `handler_cfg_` varchar(4000) collate utf8_bin default null,
                                         `custom_values_id_` varchar(64) collate utf8_bin default null,
                                         `create_time_` timestamp(3) null default null,
                                         `tenant_id_` varchar(255) collate utf8_bin default '',
                                         primary key (`id_`),
                                         key `act_idx_deadletter_job_exception_stack_id` (`exception_stack_id_`),
                                         key `act_idx_deadletter_job_custom_values_id` (`custom_values_id_`),
                                         key `act_idx_deadletter_job_correlation_id` (`correlation_id_`),
                                         key `act_idx_djob_scope` (`scope_id_`,`scope_type_`),
                                         key `act_idx_djob_sub_scope` (`sub_scope_id_`,`scope_type_`),
                                         key `act_idx_djob_scope_def` (`scope_definition_id_`,`scope_type_`),
                                         key `act_fk_deadletter_job_execution` (`execution_id_`),
                                         key `act_fk_deadletter_job_process_instance` (`process_instance_id_`),
                                         key `act_fk_deadletter_job_proc_def` (`proc_def_id_`),
                                         constraint `act_fk_deadletter_job_custom_values` foreign key (`custom_values_id_`) references `act_ge_bytearray` (`id_`),
                                         constraint `act_fk_deadletter_job_exception` foreign key (`exception_stack_id_`) references `act_ge_bytearray` (`id_`),
                                         constraint `act_fk_deadletter_job_execution` foreign key (`execution_id_`) references `act_ru_execution` (`id_`),
                                         constraint `act_fk_deadletter_job_process_instance` foreign key (`process_instance_id_`) references `act_ru_execution` (`id_`),
                                         constraint `act_fk_deadletter_job_proc_def` foreign key (`proc_def_id_`) references `act_re_procdef` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_deadletter_job
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ru_entitylink
-- ----------------------------
drop table if exists `act_ru_entitylink`;
create table `act_ru_entitylink` (
                                     `id_` varchar(64) collate utf8_bin not null,
                                     `rev_` int(11) default null,
                                     `create_time_` datetime(3) default null,
                                     `link_type_` varchar(255) collate utf8_bin default null,
                                     `scope_id_` varchar(255) collate utf8_bin default null,
                                     `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                     `scope_type_` varchar(255) collate utf8_bin default null,
                                     `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                     `parent_element_id_` varchar(255) collate utf8_bin default null,
                                     `ref_scope_id_` varchar(255) collate utf8_bin default null,
                                     `ref_scope_type_` varchar(255) collate utf8_bin default null,
                                     `ref_scope_definition_id_` varchar(255) collate utf8_bin default null,
                                     `root_scope_id_` varchar(255) collate utf8_bin default null,
                                     `root_scope_type_` varchar(255) collate utf8_bin default null,
                                     `hierarchy_type_` varchar(255) collate utf8_bin default null,
                                     primary key (`id_`),
                                     key `act_idx_ent_lnk_scope` (`scope_id_`,`scope_type_`,`link_type_`),
                                     key `act_idx_ent_lnk_ref_scope` (`ref_scope_id_`,`ref_scope_type_`,`link_type_`),
                                     key `act_idx_ent_lnk_root_scope` (`root_scope_id_`,`root_scope_type_`,`link_type_`),
                                     key `act_idx_ent_lnk_scope_def` (`scope_definition_id_`,`scope_type_`,`link_type_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_entitylink
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ru_event_subscr
-- ----------------------------
drop table if exists `act_ru_event_subscr`;
create table `act_ru_event_subscr` (
                                       `id_` varchar(64) collate utf8_bin not null,
                                       `rev_` int(11) default null,
                                       `event_type_` varchar(255) collate utf8_bin not null,
                                       `event_name_` varchar(255) collate utf8_bin default null,
                                       `execution_id_` varchar(64) collate utf8_bin default null,
                                       `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                       `activity_id_` varchar(64) collate utf8_bin default null,
                                       `configuration_` varchar(255) collate utf8_bin default null,
                                       `created_` timestamp(3) not null default current_timestamp(3),
                                       `proc_def_id_` varchar(64) collate utf8_bin default null,
                                       `sub_scope_id_` varchar(64) collate utf8_bin default null,
                                       `scope_id_` varchar(64) collate utf8_bin default null,
                                       `scope_definition_id_` varchar(64) collate utf8_bin default null,
                                       `scope_type_` varchar(64) collate utf8_bin default null,
                                       `tenant_id_` varchar(255) collate utf8_bin default '',
                                       `lock_time_` timestamp(3) null default null,
                                       `lock_owner_` varchar(255) collate utf8_bin default null,
                                       primary key (`id_`),
                                       key `act_idx_event_subscr_config_` (`configuration_`),
                                       key `act_fk_event_exec` (`execution_id_`),
                                       key `act_idx_event_subscr_scoperef_` (`scope_id_`,`scope_type_`),
                                       constraint `act_fk_event_exec` foreign key (`execution_id_`) references `act_ru_execution` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_event_subscr
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ru_execution
-- ----------------------------
drop table if exists `act_ru_execution`;
create table `act_ru_execution` (
                                    `id_` varchar(64) collate utf8_bin not null,
                                    `rev_` int(11) default null,
                                    `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                    `business_key_` varchar(255) collate utf8_bin default null,
                                    `parent_id_` varchar(64) collate utf8_bin default null,
                                    `proc_def_id_` varchar(64) collate utf8_bin default null,
                                    `super_exec_` varchar(64) collate utf8_bin default null,
                                    `root_proc_inst_id_` varchar(64) collate utf8_bin default null,
                                    `act_id_` varchar(255) collate utf8_bin default null,
                                    `is_active_` tinyint(4) default null,
                                    `is_concurrent_` tinyint(4) default null,
                                    `is_scope_` tinyint(4) default null,
                                    `is_event_scope_` tinyint(4) default null,
                                    `is_mi_root_` tinyint(4) default null,
                                    `suspension_state_` int(11) default null,
                                    `cached_ent_state_` int(11) default null,
                                    `tenant_id_` varchar(255) collate utf8_bin default '',
                                    `name_` varchar(255) collate utf8_bin default null,
                                    `start_act_id_` varchar(255) collate utf8_bin default null,
                                    `start_time_` datetime(3) default null,
                                    `start_user_id_` varchar(255) collate utf8_bin default null,
                                    `lock_time_` timestamp(3) null default null,
                                    `lock_owner_` varchar(255) collate utf8_bin default null,
                                    `is_count_enabled_` tinyint(4) default null,
                                    `evt_subscr_count_` int(11) default null,
                                    `task_count_` int(11) default null,
                                    `job_count_` int(11) default null,
                                    `timer_job_count_` int(11) default null,
                                    `susp_job_count_` int(11) default null,
                                    `deadletter_job_count_` int(11) default null,
                                    `external_worker_job_count_` int(11) default null,
                                    `var_count_` int(11) default null,
                                    `id_link_count_` int(11) default null,
                                    `callback_id_` varchar(255) collate utf8_bin default null,
                                    `callback_type_` varchar(255) collate utf8_bin default null,
                                    `reference_id_` varchar(255) collate utf8_bin default null,
                                    `reference_type_` varchar(255) collate utf8_bin default null,
                                    `propagated_stage_inst_id_` varchar(255) collate utf8_bin default null,
                                    `business_status_` varchar(255) collate utf8_bin default null,
                                    primary key (`id_`),
                                    key `act_idx_exec_buskey` (`business_key_`),
                                    key `act_idc_exec_root` (`root_proc_inst_id_`),
                                    key `act_idx_exec_ref_id_` (`reference_id_`),
                                    key `act_fk_exe_procinst` (`proc_inst_id_`),
                                    key `act_fk_exe_parent` (`parent_id_`),
                                    key `act_fk_exe_super` (`super_exec_`),
                                    key `act_fk_exe_procdef` (`proc_def_id_`),
                                    constraint `act_fk_exe_parent` foreign key (`parent_id_`) references `act_ru_execution` (`id_`) on delete cascade,
                                    constraint `act_fk_exe_procdef` foreign key (`proc_def_id_`) references `act_re_procdef` (`id_`),
                                    constraint `act_fk_exe_procinst` foreign key (`proc_inst_id_`) references `act_ru_execution` (`id_`) on delete cascade on update cascade,
                                    constraint `act_fk_exe_super` foreign key (`super_exec_`) references `act_ru_execution` (`id_`) on delete cascade
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_execution
-- ----------------------------
begin;
insert into `act_ru_execution` (`id_`, `rev_`, `proc_inst_id_`, `business_key_`, `parent_id_`, `proc_def_id_`, `super_exec_`, `root_proc_inst_id_`, `act_id_`, `is_active_`, `is_concurrent_`, `is_scope_`, `is_event_scope_`, `is_mi_root_`, `suspension_state_`, `cached_ent_state_`, `tenant_id_`, `name_`, `start_act_id_`, `start_time_`, `start_user_id_`, `lock_time_`, `lock_owner_`, `is_count_enabled_`, `evt_subscr_count_`, `task_count_`, `job_count_`, `timer_job_count_`, `susp_job_count_`, `deadletter_job_count_`, `external_worker_job_count_`, `var_count_`, `id_link_count_`, `callback_id_`, `callback_type_`, `reference_id_`, `reference_type_`, `propagated_stage_inst_id_`, `business_status_`) values ('2563', 1, '2563', null, null, 'flow_ks2lyz4c:2:2522', null, '2563', null, 1, 0, 1, 0, 0, 1, null, '', null, 'start_event', '2022-12-26 11:31:33.717', '1', null, null, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, null, null, null, null, null, null);
insert into `act_ru_execution` (`id_`, `rev_`, `proc_inst_id_`, `business_key_`, `parent_id_`, `proc_def_id_`, `super_exec_`, `root_proc_inst_id_`, `act_id_`, `is_active_`, `is_concurrent_`, `is_scope_`, `is_event_scope_`, `is_mi_root_`, `suspension_state_`, `cached_ent_state_`, `tenant_id_`, `name_`, `start_act_id_`, `start_time_`, `start_user_id_`, `lock_time_`, `lock_owner_`, `is_count_enabled_`, `evt_subscr_count_`, `task_count_`, `job_count_`, `timer_job_count_`, `susp_job_count_`, `deadletter_job_count_`, `external_worker_job_count_`, `var_count_`, `id_link_count_`, `callback_id_`, `callback_type_`, `reference_id_`, `reference_type_`, `propagated_stage_inst_id_`, `business_status_`) values ('2572', 2, '2563', null, '2563', 'flow_ks2lyz4c:2:2522', null, '2563', 'activity_1m9b8mu', 1, 0, 0, 0, 0, 1, null, '', null, null, '2022-12-26 11:31:33.717', null, null, null, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, null, null, null, null, null, null);
commit;

-- ----------------------------
-- table structure for act_ru_external_job
-- ----------------------------
drop table if exists `act_ru_external_job`;
create table `act_ru_external_job` (
                                       `id_` varchar(64) collate utf8_bin not null,
                                       `rev_` int(11) default null,
                                       `category_` varchar(255) collate utf8_bin default null,
                                       `type_` varchar(255) collate utf8_bin not null,
                                       `lock_exp_time_` timestamp(3) null default null,
                                       `lock_owner_` varchar(255) collate utf8_bin default null,
                                       `exclusive_` tinyint(1) default null,
                                       `execution_id_` varchar(64) collate utf8_bin default null,
                                       `process_instance_id_` varchar(64) collate utf8_bin default null,
                                       `proc_def_id_` varchar(64) collate utf8_bin default null,
                                       `element_id_` varchar(255) collate utf8_bin default null,
                                       `element_name_` varchar(255) collate utf8_bin default null,
                                       `scope_id_` varchar(255) collate utf8_bin default null,
                                       `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                       `scope_type_` varchar(255) collate utf8_bin default null,
                                       `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                       `correlation_id_` varchar(255) collate utf8_bin default null,
                                       `retries_` int(11) default null,
                                       `exception_stack_id_` varchar(64) collate utf8_bin default null,
                                       `exception_msg_` varchar(4000) collate utf8_bin default null,
                                       `duedate_` timestamp(3) null default null,
                                       `repeat_` varchar(255) collate utf8_bin default null,
                                       `handler_type_` varchar(255) collate utf8_bin default null,
                                       `handler_cfg_` varchar(4000) collate utf8_bin default null,
                                       `custom_values_id_` varchar(64) collate utf8_bin default null,
                                       `create_time_` timestamp(3) null default null,
                                       `tenant_id_` varchar(255) collate utf8_bin default '',
                                       primary key (`id_`),
                                       key `act_idx_external_job_exception_stack_id` (`exception_stack_id_`),
                                       key `act_idx_external_job_custom_values_id` (`custom_values_id_`),
                                       key `act_idx_external_job_correlation_id` (`correlation_id_`),
                                       key `act_idx_ejob_scope` (`scope_id_`,`scope_type_`),
                                       key `act_idx_ejob_sub_scope` (`sub_scope_id_`,`scope_type_`),
                                       key `act_idx_ejob_scope_def` (`scope_definition_id_`,`scope_type_`),
                                       constraint `act_fk_external_job_custom_values` foreign key (`custom_values_id_`) references `act_ge_bytearray` (`id_`),
                                       constraint `act_fk_external_job_exception` foreign key (`exception_stack_id_`) references `act_ge_bytearray` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_external_job
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ru_history_job
-- ----------------------------
drop table if exists `act_ru_history_job`;
create table `act_ru_history_job` (
                                      `id_` varchar(64) collate utf8_bin not null,
                                      `rev_` int(11) default null,
                                      `lock_exp_time_` timestamp(3) null default null,
                                      `lock_owner_` varchar(255) collate utf8_bin default null,
                                      `retries_` int(11) default null,
                                      `exception_stack_id_` varchar(64) collate utf8_bin default null,
                                      `exception_msg_` varchar(4000) collate utf8_bin default null,
                                      `handler_type_` varchar(255) collate utf8_bin default null,
                                      `handler_cfg_` varchar(4000) collate utf8_bin default null,
                                      `custom_values_id_` varchar(64) collate utf8_bin default null,
                                      `adv_handler_cfg_id_` varchar(64) collate utf8_bin default null,
                                      `create_time_` timestamp(3) null default null,
                                      `scope_type_` varchar(255) collate utf8_bin default null,
                                      `tenant_id_` varchar(255) collate utf8_bin default '',
                                      primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_history_job
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ru_identitylink
-- ----------------------------
drop table if exists `act_ru_identitylink`;
create table `act_ru_identitylink` (
                                       `id_` varchar(64) collate utf8_bin not null,
                                       `rev_` int(11) default null,
                                       `group_id_` varchar(255) collate utf8_bin default null,
                                       `type_` varchar(255) collate utf8_bin default null,
                                       `user_id_` varchar(255) collate utf8_bin default null,
                                       `task_id_` varchar(64) collate utf8_bin default null,
                                       `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                       `proc_def_id_` varchar(64) collate utf8_bin default null,
                                       `scope_id_` varchar(255) collate utf8_bin default null,
                                       `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                       `scope_type_` varchar(255) collate utf8_bin default null,
                                       `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                       primary key (`id_`),
                                       key `act_idx_ident_lnk_user` (`user_id_`),
                                       key `act_idx_ident_lnk_group` (`group_id_`),
                                       key `act_idx_ident_lnk_scope` (`scope_id_`,`scope_type_`),
                                       key `act_idx_ident_lnk_sub_scope` (`sub_scope_id_`,`scope_type_`),
                                       key `act_idx_ident_lnk_scope_def` (`scope_definition_id_`,`scope_type_`),
                                       key `act_idx_athrz_procedef` (`proc_def_id_`),
                                       key `act_fk_tskass_task` (`task_id_`),
                                       key `act_fk_idl_procinst` (`proc_inst_id_`),
                                       constraint `act_fk_athrz_procedef` foreign key (`proc_def_id_`) references `act_re_procdef` (`id_`),
                                       constraint `act_fk_idl_procinst` foreign key (`proc_inst_id_`) references `act_ru_execution` (`id_`),
                                       constraint `act_fk_tskass_task` foreign key (`task_id_`) references `act_ru_task` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_identitylink
-- ----------------------------
begin;
insert into `act_ru_identitylink` (`id_`, `rev_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `proc_inst_id_`, `proc_def_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2564', 1, null, 'starter', '1', null, '2563', null, null, null, null, null);
insert into `act_ru_identitylink` (`id_`, `rev_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `proc_inst_id_`, `proc_def_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2578', 1, null, 'participant', '1', null, '2563', null, null, null, null, null);
insert into `act_ru_identitylink` (`id_`, `rev_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `proc_inst_id_`, `proc_def_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2580', 1, null, 'participant', '2', null, '2563', null, null, null, null, null);
insert into `act_ru_identitylink` (`id_`, `rev_`, `group_id_`, `type_`, `user_id_`, `task_id_`, `proc_inst_id_`, `proc_def_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`) values ('2601', 1, '2', 'candidate', null, '2600', null, null, null, null, null, null);
commit;

-- ----------------------------
-- table structure for act_ru_job
-- ----------------------------
drop table if exists `act_ru_job`;
create table `act_ru_job` (
                              `id_` varchar(64) collate utf8_bin not null,
                              `rev_` int(11) default null,
                              `category_` varchar(255) collate utf8_bin default null,
                              `type_` varchar(255) collate utf8_bin not null,
                              `lock_exp_time_` timestamp(3) null default null,
                              `lock_owner_` varchar(255) collate utf8_bin default null,
                              `exclusive_` tinyint(1) default null,
                              `execution_id_` varchar(64) collate utf8_bin default null,
                              `process_instance_id_` varchar(64) collate utf8_bin default null,
                              `proc_def_id_` varchar(64) collate utf8_bin default null,
                              `element_id_` varchar(255) collate utf8_bin default null,
                              `element_name_` varchar(255) collate utf8_bin default null,
                              `scope_id_` varchar(255) collate utf8_bin default null,
                              `sub_scope_id_` varchar(255) collate utf8_bin default null,
                              `scope_type_` varchar(255) collate utf8_bin default null,
                              `scope_definition_id_` varchar(255) collate utf8_bin default null,
                              `correlation_id_` varchar(255) collate utf8_bin default null,
                              `retries_` int(11) default null,
                              `exception_stack_id_` varchar(64) collate utf8_bin default null,
                              `exception_msg_` varchar(4000) collate utf8_bin default null,
                              `duedate_` timestamp(3) null default null,
                              `repeat_` varchar(255) collate utf8_bin default null,
                              `handler_type_` varchar(255) collate utf8_bin default null,
                              `handler_cfg_` varchar(4000) collate utf8_bin default null,
                              `custom_values_id_` varchar(64) collate utf8_bin default null,
                              `create_time_` timestamp(3) null default null,
                              `tenant_id_` varchar(255) collate utf8_bin default '',
                              primary key (`id_`),
                              key `act_idx_job_exception_stack_id` (`exception_stack_id_`),
                              key `act_idx_job_custom_values_id` (`custom_values_id_`),
                              key `act_idx_job_correlation_id` (`correlation_id_`),
                              key `act_idx_job_scope` (`scope_id_`,`scope_type_`),
                              key `act_idx_job_sub_scope` (`sub_scope_id_`,`scope_type_`),
                              key `act_idx_job_scope_def` (`scope_definition_id_`,`scope_type_`),
                              key `act_fk_job_execution` (`execution_id_`),
                              key `act_fk_job_process_instance` (`process_instance_id_`),
                              key `act_fk_job_proc_def` (`proc_def_id_`),
                              constraint `act_fk_job_custom_values` foreign key (`custom_values_id_`) references `act_ge_bytearray` (`id_`),
                              constraint `act_fk_job_exception` foreign key (`exception_stack_id_`) references `act_ge_bytearray` (`id_`),
                              constraint `act_fk_job_execution` foreign key (`execution_id_`) references `act_ru_execution` (`id_`),
                              constraint `act_fk_job_process_instance` foreign key (`process_instance_id_`) references `act_ru_execution` (`id_`),
                              constraint `act_fk_job_proc_def` foreign key (`proc_def_id_`) references `act_re_procdef` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_job
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ru_suspended_job
-- ----------------------------
drop table if exists `act_ru_suspended_job`;
create table `act_ru_suspended_job` (
                                        `id_` varchar(64) collate utf8_bin not null,
                                        `rev_` int(11) default null,
                                        `category_` varchar(255) collate utf8_bin default null,
                                        `type_` varchar(255) collate utf8_bin not null,
                                        `exclusive_` tinyint(1) default null,
                                        `execution_id_` varchar(64) collate utf8_bin default null,
                                        `process_instance_id_` varchar(64) collate utf8_bin default null,
                                        `proc_def_id_` varchar(64) collate utf8_bin default null,
                                        `element_id_` varchar(255) collate utf8_bin default null,
                                        `element_name_` varchar(255) collate utf8_bin default null,
                                        `scope_id_` varchar(255) collate utf8_bin default null,
                                        `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                        `scope_type_` varchar(255) collate utf8_bin default null,
                                        `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                        `correlation_id_` varchar(255) collate utf8_bin default null,
                                        `retries_` int(11) default null,
                                        `exception_stack_id_` varchar(64) collate utf8_bin default null,
                                        `exception_msg_` varchar(4000) collate utf8_bin default null,
                                        `duedate_` timestamp(3) null default null,
                                        `repeat_` varchar(255) collate utf8_bin default null,
                                        `handler_type_` varchar(255) collate utf8_bin default null,
                                        `handler_cfg_` varchar(4000) collate utf8_bin default null,
                                        `custom_values_id_` varchar(64) collate utf8_bin default null,
                                        `create_time_` timestamp(3) null default null,
                                        `tenant_id_` varchar(255) collate utf8_bin default '',
                                        primary key (`id_`),
                                        key `act_idx_suspended_job_exception_stack_id` (`exception_stack_id_`),
                                        key `act_idx_suspended_job_custom_values_id` (`custom_values_id_`),
                                        key `act_idx_suspended_job_correlation_id` (`correlation_id_`),
                                        key `act_idx_sjob_scope` (`scope_id_`,`scope_type_`),
                                        key `act_idx_sjob_sub_scope` (`sub_scope_id_`,`scope_type_`),
                                        key `act_idx_sjob_scope_def` (`scope_definition_id_`,`scope_type_`),
                                        key `act_fk_suspended_job_execution` (`execution_id_`),
                                        key `act_fk_suspended_job_process_instance` (`process_instance_id_`),
                                        key `act_fk_suspended_job_proc_def` (`proc_def_id_`),
                                        constraint `act_fk_suspended_job_custom_values` foreign key (`custom_values_id_`) references `act_ge_bytearray` (`id_`),
                                        constraint `act_fk_suspended_job_exception` foreign key (`exception_stack_id_`) references `act_ge_bytearray` (`id_`),
                                        constraint `act_fk_suspended_job_execution` foreign key (`execution_id_`) references `act_ru_execution` (`id_`),
                                        constraint `act_fk_suspended_job_process_instance` foreign key (`process_instance_id_`) references `act_ru_execution` (`id_`),
                                        constraint `act_fk_suspended_job_proc_def` foreign key (`proc_def_id_`) references `act_re_procdef` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_suspended_job
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ru_task
-- ----------------------------
drop table if exists `act_ru_task`;
create table `act_ru_task` (
                               `id_` varchar(64) collate utf8_bin not null,
                               `rev_` int(11) default null,
                               `execution_id_` varchar(64) collate utf8_bin default null,
                               `proc_inst_id_` varchar(64) collate utf8_bin default null,
                               `proc_def_id_` varchar(64) collate utf8_bin default null,
                               `task_def_id_` varchar(64) collate utf8_bin default null,
                               `scope_id_` varchar(255) collate utf8_bin default null,
                               `sub_scope_id_` varchar(255) collate utf8_bin default null,
                               `scope_type_` varchar(255) collate utf8_bin default null,
                               `scope_definition_id_` varchar(255) collate utf8_bin default null,
                               `propagated_stage_inst_id_` varchar(255) collate utf8_bin default null,
                               `name_` varchar(255) collate utf8_bin default null,
                               `parent_task_id_` varchar(64) collate utf8_bin default null,
                               `description_` varchar(4000) collate utf8_bin default null,
                               `task_def_key_` varchar(255) collate utf8_bin default null,
                               `owner_` varchar(255) collate utf8_bin default null,
                               `assignee_` varchar(255) collate utf8_bin default null,
                               `delegation_` varchar(64) collate utf8_bin default null,
                               `priority_` int(11) default null,
                               `create_time_` timestamp(3) null default null,
                               `due_date_` datetime(3) default null,
                               `category_` varchar(255) collate utf8_bin default null,
                               `suspension_state_` int(11) default null,
                               `tenant_id_` varchar(255) collate utf8_bin default '',
                               `form_key_` varchar(255) collate utf8_bin default null,
                               `claim_time_` datetime(3) default null,
                               `is_count_enabled_` tinyint(4) default null,
                               `var_count_` int(11) default null,
                               `id_link_count_` int(11) default null,
                               `sub_task_count_` int(11) default null,
                               primary key (`id_`),
                               key `act_idx_task_create` (`create_time_`),
                               key `act_idx_task_scope` (`scope_id_`,`scope_type_`),
                               key `act_idx_task_sub_scope` (`sub_scope_id_`,`scope_type_`),
                               key `act_idx_task_scope_def` (`scope_definition_id_`,`scope_type_`),
                               key `act_fk_task_exe` (`execution_id_`),
                               key `act_fk_task_procinst` (`proc_inst_id_`),
                               key `act_fk_task_procdef` (`proc_def_id_`),
                               constraint `act_fk_task_exe` foreign key (`execution_id_`) references `act_ru_execution` (`id_`),
                               constraint `act_fk_task_procdef` foreign key (`proc_def_id_`) references `act_re_procdef` (`id_`),
                               constraint `act_fk_task_procinst` foreign key (`proc_inst_id_`) references `act_ru_execution` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_task
-- ----------------------------
begin;
insert into `act_ru_task` (`id_`, `rev_`, `execution_id_`, `proc_inst_id_`, `proc_def_id_`, `task_def_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `scope_definition_id_`, `propagated_stage_inst_id_`, `name_`, `parent_task_id_`, `description_`, `task_def_key_`, `owner_`, `assignee_`, `delegation_`, `priority_`, `create_time_`, `due_date_`, `category_`, `suspension_state_`, `tenant_id_`, `form_key_`, `claim_time_`, `is_count_enabled_`, `var_count_`, `id_link_count_`, `sub_task_count_`) values ('2600', 1, '2572', '2563', 'flow_ks2lyz4c:2:2522', null, null, null, null, null, null, '老板', null, null, 'activity_1m9b8mu', null, null, null, 50, '2022-12-26 11:32:01.167', null, null, 1, '', null, null, 1, 0, 1, 0);
commit;

-- ----------------------------
-- table structure for act_ru_timer_job
-- ----------------------------
drop table if exists `act_ru_timer_job`;
create table `act_ru_timer_job` (
                                    `id_` varchar(64) collate utf8_bin not null,
                                    `rev_` int(11) default null,
                                    `category_` varchar(255) collate utf8_bin default null,
                                    `type_` varchar(255) collate utf8_bin not null,
                                    `lock_exp_time_` timestamp(3) null default null,
                                    `lock_owner_` varchar(255) collate utf8_bin default null,
                                    `exclusive_` tinyint(1) default null,
                                    `execution_id_` varchar(64) collate utf8_bin default null,
                                    `process_instance_id_` varchar(64) collate utf8_bin default null,
                                    `proc_def_id_` varchar(64) collate utf8_bin default null,
                                    `element_id_` varchar(255) collate utf8_bin default null,
                                    `element_name_` varchar(255) collate utf8_bin default null,
                                    `scope_id_` varchar(255) collate utf8_bin default null,
                                    `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                    `scope_type_` varchar(255) collate utf8_bin default null,
                                    `scope_definition_id_` varchar(255) collate utf8_bin default null,
                                    `correlation_id_` varchar(255) collate utf8_bin default null,
                                    `retries_` int(11) default null,
                                    `exception_stack_id_` varchar(64) collate utf8_bin default null,
                                    `exception_msg_` varchar(4000) collate utf8_bin default null,
                                    `duedate_` timestamp(3) null default null,
                                    `repeat_` varchar(255) collate utf8_bin default null,
                                    `handler_type_` varchar(255) collate utf8_bin default null,
                                    `handler_cfg_` varchar(4000) collate utf8_bin default null,
                                    `custom_values_id_` varchar(64) collate utf8_bin default null,
                                    `create_time_` timestamp(3) null default null,
                                    `tenant_id_` varchar(255) collate utf8_bin default '',
                                    primary key (`id_`),
                                    key `act_idx_timer_job_exception_stack_id` (`exception_stack_id_`),
                                    key `act_idx_timer_job_custom_values_id` (`custom_values_id_`),
                                    key `act_idx_timer_job_correlation_id` (`correlation_id_`),
                                    key `act_idx_timer_job_duedate` (`duedate_`),
                                    key `act_idx_tjob_scope` (`scope_id_`,`scope_type_`),
                                    key `act_idx_tjob_sub_scope` (`sub_scope_id_`,`scope_type_`),
                                    key `act_idx_tjob_scope_def` (`scope_definition_id_`,`scope_type_`),
                                    key `act_fk_timer_job_execution` (`execution_id_`),
                                    key `act_fk_timer_job_process_instance` (`process_instance_id_`),
                                    key `act_fk_timer_job_proc_def` (`proc_def_id_`),
                                    constraint `act_fk_timer_job_custom_values` foreign key (`custom_values_id_`) references `act_ge_bytearray` (`id_`),
                                    constraint `act_fk_timer_job_exception` foreign key (`exception_stack_id_`) references `act_ge_bytearray` (`id_`),
                                    constraint `act_fk_timer_job_execution` foreign key (`execution_id_`) references `act_ru_execution` (`id_`),
                                    constraint `act_fk_timer_job_process_instance` foreign key (`process_instance_id_`) references `act_ru_execution` (`id_`),
                                    constraint `act_fk_timer_job_proc_def` foreign key (`proc_def_id_`) references `act_re_procdef` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_timer_job
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for act_ru_variable
-- ----------------------------
drop table if exists `act_ru_variable`;
create table `act_ru_variable` (
                                   `id_` varchar(64) collate utf8_bin not null,
                                   `rev_` int(11) default null,
                                   `type_` varchar(255) collate utf8_bin not null,
                                   `name_` varchar(255) collate utf8_bin not null,
                                   `execution_id_` varchar(64) collate utf8_bin default null,
                                   `proc_inst_id_` varchar(64) collate utf8_bin default null,
                                   `task_id_` varchar(64) collate utf8_bin default null,
                                   `scope_id_` varchar(255) collate utf8_bin default null,
                                   `sub_scope_id_` varchar(255) collate utf8_bin default null,
                                   `scope_type_` varchar(255) collate utf8_bin default null,
                                   `bytearray_id_` varchar(64) collate utf8_bin default null,
                                   `double_` double default null,
                                   `long_` bigint(20) default null,
                                   `text_` varchar(4000) collate utf8_bin default null,
                                   `text2_` varchar(4000) collate utf8_bin default null,
                                   primary key (`id_`),
                                   key `act_idx_ru_var_scope_id_type` (`scope_id_`,`scope_type_`),
                                   key `act_idx_ru_var_sub_id_type` (`sub_scope_id_`,`scope_type_`),
                                   key `act_fk_var_bytearray` (`bytearray_id_`),
                                   key `act_idx_variable_task_id` (`task_id_`),
                                   key `act_fk_var_exe` (`execution_id_`),
                                   key `act_fk_var_procinst` (`proc_inst_id_`),
                                   constraint `act_fk_var_bytearray` foreign key (`bytearray_id_`) references `act_ge_bytearray` (`id_`),
                                   constraint `act_fk_var_exe` foreign key (`execution_id_`) references `act_ru_execution` (`id_`),
                                   constraint `act_fk_var_procinst` foreign key (`proc_inst_id_`) references `act_ru_execution` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of act_ru_variable
-- ----------------------------
begin;
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2565', 1, 'string', 'field101', '2563', '2563', null, null, null, null, null, null, null, 'jinttt', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2566', 1, 'string', 'day', '2563', '2563', null, null, null, null, null, null, null, '4', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2567', 1, 'string', 'field102', '2563', '2563', null, null, null, null, null, null, null, 'ttt', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2569', 1, 'serializable', 'variables', '2563', '2563', null, null, null, null, '2568', null, null, null, null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2571', 1, 'long', 'initiator', '2563', '2563', null, null, null, null, null, null, 1, '1', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2585', 1, 'serializable', 'fields', '2563', '2563', null, null, null, null, '2584', null, null, null, null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2587', 1, 'string', 'formref', '2563', '2563', null, null, null, null, null, null, null, 'elform', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2588', 1, 'string', 'formmodel', '2563', '2563', null, null, null, null, null, null, null, 'formdata', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2589', 1, 'string', 'size', '2563', '2563', null, null, null, null, null, null, null, 'medium', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2590', 1, 'string', 'labelposition', '2563', '2563', null, null, null, null, null, null, null, 'right', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2591', 1, 'integer', 'labelwidth', '2563', '2563', null, null, null, null, null, null, 100, '100', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2592', 1, 'string', 'formrules', '2563', '2563', null, null, null, null, null, null, null, 'rules', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2593', 1, 'integer', 'gutter', '2563', '2563', null, null, null, null, null, null, 15, '15', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2594', 1, 'boolean', 'disabled', '2563', '2563', null, null, null, null, null, null, 1, null, null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2595', 1, 'integer', 'span', '2563', '2563', null, null, null, null, null, null, 24, '24', null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2596', 1, 'boolean', 'formbtns', '2563', '2563', null, null, null, null, null, null, 0, null, null);
insert into `act_ru_variable` (`id_`, `rev_`, `type_`, `name_`, `execution_id_`, `proc_inst_id_`, `task_id_`, `scope_id_`, `sub_scope_id_`, `scope_type_`, `bytearray_id_`, `double_`, `long_`, `text_`, `text2_`) values ('2597', 1, 'string', 'approval', '2563', '2563', null, null, null, null, null, null, null, '2', null);
commit;

-- ----------------------------
-- table structure for flw_channel_definition
-- ----------------------------
drop table if exists `flw_channel_definition`;
create table `flw_channel_definition` (
                                          `id_` varchar(255) not null,
                                          `name_` varchar(255) default null,
                                          `version_` int(11) default null,
                                          `key_` varchar(255) default null,
                                          `category_` varchar(255) default null,
                                          `deployment_id_` varchar(255) default null,
                                          `create_time_` datetime(3) default null,
                                          `tenant_id_` varchar(255) default null,
                                          `resource_name_` varchar(255) default null,
                                          `description_` varchar(255) default null,
                                          `type_` varchar(255) default null,
                                          `implementation_` varchar(255) default null,
                                          primary key (`id_`),
                                          unique key `act_idx_channel_def_uniq` (`key_`,`version_`,`tenant_id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of flw_channel_definition
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for flw_event_definition
-- ----------------------------
drop table if exists `flw_event_definition`;
create table `flw_event_definition` (
                                        `id_` varchar(255) not null,
                                        `name_` varchar(255) default null,
                                        `version_` int(11) default null,
                                        `key_` varchar(255) default null,
                                        `category_` varchar(255) default null,
                                        `deployment_id_` varchar(255) default null,
                                        `tenant_id_` varchar(255) default null,
                                        `resource_name_` varchar(255) default null,
                                        `description_` varchar(255) default null,
                                        primary key (`id_`),
                                        unique key `act_idx_event_def_uniq` (`key_`,`version_`,`tenant_id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of flw_event_definition
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for flw_event_deployment
-- ----------------------------
drop table if exists `flw_event_deployment`;
create table `flw_event_deployment` (
                                        `id_` varchar(255) not null,
                                        `name_` varchar(255) default null,
                                        `category_` varchar(255) default null,
                                        `deploy_time_` datetime(3) default null,
                                        `tenant_id_` varchar(255) default null,
                                        `parent_deployment_id_` varchar(255) default null,
                                        primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of flw_event_deployment
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for flw_event_resource
-- ----------------------------
drop table if exists `flw_event_resource`;
create table `flw_event_resource` (
                                      `id_` varchar(255) not null,
                                      `name_` varchar(255) default null,
                                      `deployment_id_` varchar(255) default null,
                                      `resource_bytes_` longblob,
                                      primary key (`id_`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of flw_event_resource
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for flw_ev_databasechangelog
-- ----------------------------
drop table if exists `flw_ev_databasechangelog`;
create table `flw_ev_databasechangelog` (
                                            `id` varchar(255) not null,
                                            `author` varchar(255) not null,
                                            `filename` varchar(255) not null,
                                            `dateexecuted` datetime not null,
                                            `orderexecuted` int(11) not null,
                                            `exectype` varchar(10) not null,
                                            `md5sum` varchar(35) default null,
                                            `description` varchar(255) default null,
                                            `comments` varchar(255) default null,
                                            `tag` varchar(255) default null,
                                            `liquibase` varchar(20) default null,
                                            `contexts` varchar(255) default null,
                                            `labels` varchar(255) default null,
                                            `deployment_id` varchar(10) default null
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of flw_ev_databasechangelog
-- ----------------------------
begin;
insert into `flw_ev_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('1', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2022-12-11 17:28:49', 1, 'executed', '8:1b0c48c9cf7945be799d868a2626d687', 'createtable tablename=flw_event_deployment; createtable tablename=flw_event_resource; createtable tablename=flw_event_definition; createindex indexname=act_idx_event_def_uniq, tablename=flw_event_definition; createtable tablename=flw_channel_defin...', '', null, '4.3.5', null, null, '0750929197');
insert into `flw_ev_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('2', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2022-12-11 17:28:49', 2, 'executed', '8:0ea825feb8e470558f0b5754352b9cda', 'addcolumn tablename=flw_channel_definition; addcolumn tablename=flw_channel_definition', '', null, '4.3.5', null, null, '0750929197');
insert into `flw_ev_databasechangelog` (`id`, `author`, `filename`, `dateexecuted`, `orderexecuted`, `exectype`, `md5sum`, `description`, `comments`, `tag`, `liquibase`, `contexts`, `labels`, `deployment_id`) values ('3', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2022-12-11 17:28:49', 3, 'executed', '8:3c2bb293350b5cbe6504331980c9dcee', 'customchange', '', null, '4.3.5', null, null, '0750929197');
commit;

-- ----------------------------
-- table structure for flw_ev_databasechangeloglock
-- ----------------------------
drop table if exists `flw_ev_databasechangeloglock`;
create table `flw_ev_databasechangeloglock` (
                                                `id` int(11) not null,
                                                `locked` bit(1) not null,
                                                `lockgranted` datetime default null,
                                                `lockedby` varchar(255) default null,
                                                primary key (`id`)
) engine=innodb default charset=utf8mb4;

-- ----------------------------
-- records of flw_ev_databasechangeloglock
-- ----------------------------
begin;
insert into `flw_ev_databasechangeloglock` (`id`, `locked`, `lockgranted`, `lockedby`) values (1, b'0', null, null);
commit;

-- ----------------------------
-- table structure for flw_ru_batch
-- ----------------------------
drop table if exists `flw_ru_batch`;
create table `flw_ru_batch` (
                                `id_` varchar(64) collate utf8_bin not null,
                                `rev_` int(11) default null,
                                `type_` varchar(64) collate utf8_bin not null,
                                `search_key_` varchar(255) collate utf8_bin default null,
                                `search_key2_` varchar(255) collate utf8_bin default null,
                                `create_time_` datetime(3) not null,
                                `complete_time_` datetime(3) default null,
                                `status_` varchar(255) collate utf8_bin default null,
                                `batch_doc_id_` varchar(64) collate utf8_bin default null,
                                `tenant_id_` varchar(255) collate utf8_bin default '',
                                primary key (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of flw_ru_batch
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for flw_ru_batch_part
-- ----------------------------
drop table if exists `flw_ru_batch_part`;
create table `flw_ru_batch_part` (
                                     `id_` varchar(64) collate utf8_bin not null,
                                     `rev_` int(11) default null,
                                     `batch_id_` varchar(64) collate utf8_bin default null,
                                     `type_` varchar(64) collate utf8_bin not null,
                                     `scope_id_` varchar(64) collate utf8_bin default null,
                                     `sub_scope_id_` varchar(64) collate utf8_bin default null,
                                     `scope_type_` varchar(64) collate utf8_bin default null,
                                     `search_key_` varchar(255) collate utf8_bin default null,
                                     `search_key2_` varchar(255) collate utf8_bin default null,
                                     `create_time_` datetime(3) not null,
                                     `complete_time_` datetime(3) default null,
                                     `status_` varchar(255) collate utf8_bin default null,
                                     `result_doc_id_` varchar(64) collate utf8_bin default null,
                                     `tenant_id_` varchar(255) collate utf8_bin default '',
                                     primary key (`id_`),
                                     key `flw_idx_batch_part` (`batch_id_`),
                                     constraint `flw_fk_batch_part_parent` foreign key (`batch_id_`) references `flw_ru_batch` (`id_`)
) engine=innodb default charset=utf8 collate=utf8_bin;

-- ----------------------------
-- records of flw_ru_batch_part
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_blob_triggers
-- ----------------------------
drop table if exists `qrtz_blob_triggers`;
create table `qrtz_blob_triggers` (
                                      `sched_name` varchar(120) not null comment '调度名称',
                                      `trigger_name` varchar(200) not null comment 'qrtz_triggers表trigger_name的外键',
                                      `trigger_group` varchar(200) not null comment 'qrtz_triggers表trigger_group的外键',
                                      `blob_data` blob comment '存放持久化trigger对象',
                                      primary key (`sched_name`,`trigger_name`,`trigger_group`),
                                      constraint `qrtz_blob_triggers_ibfk_1` foreign key (`sched_name`, `trigger_name`, `trigger_group`) references `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) engine=innodb default charset=utf8mb4 comment='blob类型的触发器表';

-- ----------------------------
-- records of qrtz_blob_triggers
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_calendars
-- ----------------------------
drop table if exists `qrtz_calendars`;
create table `qrtz_calendars` (
                                  `sched_name` varchar(120) not null comment '调度名称',
                                  `calendar_name` varchar(200) not null comment '日历名称',
                                  `calendar` blob not null comment '存放持久化calendar对象',
                                  primary key (`sched_name`,`calendar_name`)
) engine=innodb default charset=utf8mb4 comment='日历信息表';

-- ----------------------------
-- records of qrtz_calendars
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_cron_triggers
-- ----------------------------
drop table if exists `qrtz_cron_triggers`;
create table `qrtz_cron_triggers` (
                                      `sched_name` varchar(120) not null comment '调度名称',
                                      `trigger_name` varchar(200) not null comment 'qrtz_triggers表trigger_name的外键',
                                      `trigger_group` varchar(200) not null comment 'qrtz_triggers表trigger_group的外键',
                                      `cron_expression` varchar(200) not null comment 'cron表达式',
                                      `time_zone_id` varchar(80) default null comment '时区',
                                      primary key (`sched_name`,`trigger_name`,`trigger_group`),
                                      constraint `qrtz_cron_triggers_ibfk_1` foreign key (`sched_name`, `trigger_name`, `trigger_group`) references `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) engine=innodb default charset=utf8mb4 comment='cron类型的触发器表';

-- ----------------------------
-- records of qrtz_cron_triggers
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_fired_triggers
-- ----------------------------
drop table if exists `qrtz_fired_triggers`;
create table `qrtz_fired_triggers` (
                                       `sched_name` varchar(120) not null comment '调度名称',
                                       `entry_id` varchar(95) not null comment '调度器实例id',
                                       `trigger_name` varchar(200) not null comment 'qrtz_triggers表trigger_name的外键',
                                       `trigger_group` varchar(200) not null comment 'qrtz_triggers表trigger_group的外键',
                                       `instance_name` varchar(200) not null comment '调度器实例名',
                                       `fired_time` bigint(13) not null comment '触发的时间',
                                       `sched_time` bigint(13) not null comment '定时器制定的时间',
                                       `priority` int(11) not null comment '优先级',
                                       `state` varchar(16) not null comment '状态',
                                       `job_name` varchar(200) default null comment '任务名称',
                                       `job_group` varchar(200) default null comment '任务组名',
                                       `is_nonconcurrent` varchar(1) default null comment '是否并发',
                                       `requests_recovery` varchar(1) default null comment '是否接受恢复执行',
                                       primary key (`sched_name`,`entry_id`)
) engine=innodb default charset=utf8mb4 comment='已触发的触发器表';

-- ----------------------------
-- records of qrtz_fired_triggers
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_job_details
-- ----------------------------
drop table if exists `qrtz_job_details`;
create table `qrtz_job_details` (
                                    `sched_name` varchar(120) not null comment '调度名称',
                                    `job_name` varchar(200) not null comment '任务名称',
                                    `job_group` varchar(200) not null comment '任务组名',
                                    `description` varchar(250) default null comment '相关介绍',
                                    `job_class_name` varchar(250) not null comment '执行任务类名称',
                                    `is_durable` varchar(1) not null comment '是否持久化',
                                    `is_nonconcurrent` varchar(1) not null comment '是否并发',
                                    `is_update_data` varchar(1) not null comment '是否更新数据',
                                    `requests_recovery` varchar(1) not null comment '是否接受恢复执行',
                                    `job_data` blob comment '存放持久化job对象',
                                    primary key (`sched_name`,`job_name`,`job_group`)
) engine=innodb default charset=utf8mb4 comment='任务详细信息表';

-- ----------------------------
-- records of qrtz_job_details
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_locks
-- ----------------------------
drop table if exists `qrtz_locks`;
create table `qrtz_locks` (
                              `sched_name` varchar(120) not null comment '调度名称',
                              `lock_name` varchar(40) not null comment '悲观锁名称',
                              primary key (`sched_name`,`lock_name`)
) engine=innodb default charset=utf8mb4 comment='存储的悲观锁信息表';

-- ----------------------------
-- records of qrtz_locks
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_paused_trigger_grps
-- ----------------------------
drop table if exists `qrtz_paused_trigger_grps`;
create table `qrtz_paused_trigger_grps` (
                                            `sched_name` varchar(120) not null comment '调度名称',
                                            `trigger_group` varchar(200) not null comment 'qrtz_triggers表trigger_group的外键',
                                            primary key (`sched_name`,`trigger_group`)
) engine=innodb default charset=utf8mb4 comment='暂停的触发器表';

-- ----------------------------
-- records of qrtz_paused_trigger_grps
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_scheduler_state
-- ----------------------------
drop table if exists `qrtz_scheduler_state`;
create table `qrtz_scheduler_state` (
                                        `sched_name` varchar(120) not null comment '调度名称',
                                        `instance_name` varchar(200) not null comment '实例名称',
                                        `last_checkin_time` bigint(13) not null comment '上次检查时间',
                                        `checkin_interval` bigint(13) not null comment '检查间隔时间',
                                        primary key (`sched_name`,`instance_name`)
) engine=innodb default charset=utf8mb4 comment='调度器状态表';

-- ----------------------------
-- records of qrtz_scheduler_state
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_simple_triggers
-- ----------------------------
drop table if exists `qrtz_simple_triggers`;
create table `qrtz_simple_triggers` (
                                        `sched_name` varchar(120) not null comment '调度名称',
                                        `trigger_name` varchar(200) not null comment 'qrtz_triggers表trigger_name的外键',
                                        `trigger_group` varchar(200) not null comment 'qrtz_triggers表trigger_group的外键',
                                        `repeat_count` bigint(7) not null comment '重复的次数统计',
                                        `repeat_interval` bigint(12) not null comment '重复的间隔时间',
                                        `times_triggered` bigint(10) not null comment '已经触发的次数',
                                        primary key (`sched_name`,`trigger_name`,`trigger_group`),
                                        constraint `qrtz_simple_triggers_ibfk_1` foreign key (`sched_name`, `trigger_name`, `trigger_group`) references `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) engine=innodb default charset=utf8mb4 comment='简单触发器的信息表';

-- ----------------------------
-- records of qrtz_simple_triggers
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_simprop_triggers
-- ----------------------------
drop table if exists `qrtz_simprop_triggers`;
create table `qrtz_simprop_triggers` (
                                         `sched_name` varchar(120) not null comment '调度名称',
                                         `trigger_name` varchar(200) not null comment 'qrtz_triggers表trigger_name的外键',
                                         `trigger_group` varchar(200) not null comment 'qrtz_triggers表trigger_group的外键',
                                         `str_prop_1` varchar(512) default null comment 'string类型的trigger的第一个参数',
                                         `str_prop_2` varchar(512) default null comment 'string类型的trigger的第二个参数',
                                         `str_prop_3` varchar(512) default null comment 'string类型的trigger的第三个参数',
                                         `int_prop_1` int(11) default null comment 'int类型的trigger的第一个参数',
                                         `int_prop_2` int(11) default null comment 'int类型的trigger的第二个参数',
                                         `long_prop_1` bigint(20) default null comment 'long类型的trigger的第一个参数',
                                         `long_prop_2` bigint(20) default null comment 'long类型的trigger的第二个参数',
                                         `dec_prop_1` decimal(13,4) default null comment 'decimal类型的trigger的第一个参数',
                                         `dec_prop_2` decimal(13,4) default null comment 'decimal类型的trigger的第二个参数',
                                         `bool_prop_1` varchar(1) default null comment 'boolean类型的trigger的第一个参数',
                                         `bool_prop_2` varchar(1) default null comment 'boolean类型的trigger的第二个参数',
                                         primary key (`sched_name`,`trigger_name`,`trigger_group`),
                                         constraint `qrtz_simprop_triggers_ibfk_1` foreign key (`sched_name`, `trigger_name`, `trigger_group`) references `qrtz_triggers` (`sched_name`, `trigger_name`, `trigger_group`)
) engine=innodb default charset=utf8mb4 comment='同步机制的行锁表';

-- ----------------------------
-- records of qrtz_simprop_triggers
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for qrtz_triggers
-- ----------------------------
drop table if exists `qrtz_triggers`;
create table `qrtz_triggers` (
                                 `sched_name` varchar(120) not null comment '调度名称',
                                 `trigger_name` varchar(200) not null comment '触发器的名字',
                                 `trigger_group` varchar(200) not null comment '触发器所属组的名字',
                                 `job_name` varchar(200) not null comment 'qrtz_job_details表job_name的外键',
                                 `job_group` varchar(200) not null comment 'qrtz_job_details表job_group的外键',
                                 `description` varchar(250) default null comment '相关介绍',
                                 `next_fire_time` bigint(13) default null comment '上一次触发时间（毫秒）',
                                 `prev_fire_time` bigint(13) default null comment '下一次触发时间（默认为-1表示不触发）',
                                 `priority` int(11) default null comment '优先级',
                                 `trigger_state` varchar(16) not null comment '触发器状态',
                                 `trigger_type` varchar(8) not null comment '触发器的类型',
                                 `start_time` bigint(13) not null comment '开始时间',
                                 `end_time` bigint(13) default null comment '结束时间',
                                 `calendar_name` varchar(200) default null comment '日程表名称',
                                 `misfire_instr` smallint(2) default null comment '补偿执行的策略',
                                 `job_data` blob comment '存放持久化job对象',
                                 primary key (`sched_name`,`trigger_name`,`trigger_group`),
                                 key `sched_name` (`sched_name`,`job_name`,`job_group`),
                                 constraint `qrtz_triggers_ibfk_1` foreign key (`sched_name`, `job_name`, `job_group`) references `qrtz_job_details` (`sched_name`, `job_name`, `job_group`)
) engine=innodb default charset=utf8mb4 comment='触发器详细信息表';

-- ----------------------------
-- records of qrtz_triggers
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for gen_table
-- ----------------------------
drop table if exists `gen_table`;
create table `gen_table` (
                             `table_id` bigint(20) not null auto_increment comment '编号',
                             `table_name` varchar(200) default '' comment '表名称',
                             `table_comment` varchar(500) default '' comment '表描述',
                             `sub_table_name` varchar(64) default null comment '关联子表的表名',
                             `sub_table_fk_name` varchar(64) default null comment '子表关联的外键名',
                             `class_name` varchar(100) default '' comment '实体类名称',
                             `tpl_category` varchar(200) default 'crud' comment '使用的模板（crud单表操作 tree树表操作）',
                             `package_name` varchar(100) default null comment '生成包路径',
                             `module_name` varchar(30) default null comment '生成模块名',
                             `business_name` varchar(30) default null comment '生成业务名',
                             `function_name` varchar(50) default null comment '生成功能名',
                             `function_author` varchar(50) default null comment '生成功能作者',
                             `gen_type` char(1) default '0' comment '生成代码方式（0zip压缩包 1自定义路径）',
                             `gen_path` varchar(200) default '/' comment '生成路径（不填默认项目路径）',
                             `options` varchar(1000) default null comment '其它生成选项',
                             `create_by` varchar(64) default '' comment '创建者',
                             `create_time` datetime default null comment '创建时间',
                             `update_by` varchar(64) default '' comment '更新者',
                             `update_time` datetime default null comment '更新时间',
                             `remark` varchar(500) default null comment '备注',
                             primary key (`table_id`)
) engine=innodb auto_increment=3 default charset=utf8mb4 comment='代码生成业务表';

-- ----------------------------
-- records of gen_table
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for gen_table_column
-- ----------------------------
drop table if exists `gen_table_column`;
create table `gen_table_column` (
                                    `column_id` bigint(20) not null auto_increment comment '编号',
                                    `table_id` varchar(64) default null comment '归属表编号',
                                    `column_name` varchar(200) default null comment '列名称',
                                    `column_comment` varchar(500) default null comment '列描述',
                                    `column_type` varchar(100) default null comment '列类型',
                                    `java_type` varchar(500) default null comment 'java类型',
                                    `java_field` varchar(200) default null comment 'java字段名',
                                    `is_pk` char(1) default null comment '是否主键（1是）',
                                    `is_increment` char(1) default null comment '是否自增（1是）',
                                    `is_required` char(1) default null comment '是否必填（1是）',
                                    `is_insert` char(1) default null comment '是否为插入字段（1是）',
                                    `is_edit` char(1) default null comment '是否编辑字段（1是）',
                                    `is_list` char(1) default null comment '是否列表字段（1是）',
                                    `is_query` char(1) default null comment '是否查询字段（1是）',
                                    `query_type` varchar(200) default 'eq' comment '查询方式（等于、不等于、大于、小于、范围）',
                                    `html_type` varchar(200) default null comment '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
                                    `dict_type` varchar(200) default '' comment '字典类型',
                                    `sort` int(11) default null comment '排序',
                                    `create_by` varchar(64) default '' comment '创建者',
                                    `create_time` datetime default null comment '创建时间',
                                    `update_by` varchar(64) default '' comment '更新者',
                                    `update_time` datetime default null comment '更新时间',
                                    primary key (`column_id`)
) engine=innodb auto_increment=23 default charset=utf8mb4 comment='代码生成业务表字段';

-- ----------------------------
-- records of gen_table_column
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for sys_config
-- ----------------------------
drop table if exists `sys_config`;
create table `sys_config` (
                              `config_id` int(5) not null auto_increment comment '参数主键',
                              `config_name` varchar(100) default '' comment '参数名称',
                              `config_key` varchar(100) default '' comment '参数键名',
                              `config_value` varchar(500) default '' comment '参数键值',
                              `config_type` char(1) default 'n' comment '系统内置（y是 n否）',
                              `create_by` varchar(64) default '' comment '创建者',
                              `create_time` datetime default null comment '创建时间',
                              `update_by` varchar(64) default '' comment '更新者',
                              `update_time` datetime default null comment '更新时间',
                              `remark` varchar(500) default null comment '备注',
                              primary key (`config_id`)
) engine=innodb auto_increment=6 default charset=utf8mb4 comment='参数配置表';

-- ----------------------------
-- records of sys_config
-- ----------------------------
begin;
insert into `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, '主框架页-默认皮肤样式名称', 'sys.index.skinname', 'skin-blue', 'y', 'admin', '2022-12-11 16:51:52', '', null, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
insert into `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, '用户管理-账号初始密码', 'sys.user.initpassword', '123456', 'y', 'admin', '2022-12-11 16:51:52', '', null, '初始化密码 123456');
insert into `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (3, '主框架页-侧边栏主题', 'sys.index.sidetheme', 'theme-dark', 'y', 'admin', '2022-12-11 16:51:52', '', null, '深色主题theme-dark，浅色主题theme-light');
insert into `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (4, '账号自助-验证码开关', 'sys.account.captchaenabled', 'true', 'y', 'admin', '2022-12-11 16:51:52', '', null, '是否开启验证码功能（true开启，false关闭）');
insert into `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (5, '账号自助-是否开启用户注册功能', 'sys.account.registeruser', 'false', 'y', 'admin', '2022-12-11 16:51:52', '', null, '是否开启注册用户功能（true开启，false关闭）');
commit;

-- ----------------------------
-- table structure for sys_deploy_form
-- ----------------------------
drop table if exists `sys_deploy_form`;
create table `sys_deploy_form` (
                                   `id` bigint(20) not null auto_increment comment '主键',
                                   `form_id` bigint(20) default null comment '表单主键',
                                   `deploy_id` varchar(50) default null comment '流程实例主键',
                                   primary key (`id`) using btree
) engine=innodb auto_increment=6201 default charset=utf8mb4 comment='流程实例关联表单';

-- ----------------------------
-- records of sys_deploy_form
-- ----------------------------
begin;
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6180, 3170, '599f76eb-7954-11ed-b4f6-a6d273354027');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6181, 3170, '7626e55d-7af5-11ed-9d2c-aef9a5fa0bfa');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6182, 3170, '9fc55848-7b94-11ed-8d55-5ae1c970b0cc');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6183, 3170, '86d012f0-7b95-11ed-8d55-5ae1c970b0cc');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6184, 3170, '9324a1b5-7c2c-11ed-8695-924c6d734391');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6185, 3170, '18667e8e-7c88-11ed-a7de-e253d0217ba3');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6186, 3170, 'c2f37152-7cf1-11ed-948d-7226aba284c4');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6187, 3170, '3408e017-7cf2-11ed-948d-7226aba284c4');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6188, 3170, 'b69aadce-7cf7-11ed-bd4e-7226aba284c4');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6189, 3170, '9c3e92ed-7cfd-11ed-813e-621e497bd95c');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6190, 3170, '275bfcb5-7e95-11ed-b044-cacdb63dfd63');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6191, 3170, '42caede2-7eb1-11ed-8a7b-563e6b3c7d31');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6192, 3170, '4ff26436-7eb1-11ed-8a7b-563e6b3c7d31');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6193, 3170, '70c7041b-7eb3-11ed-b231-1a65000c45b2');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6194, 3170, 'ce79c9a0-7ebd-11ed-acae-6ec23aad2db1');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6195, 3170, '9233b1a6-7ecd-11ed-a1a8-767ed87bdd9a');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6196, 3170, '1b5733f0-7f59-11ed-9cbf-4a21df182334');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6197, 3170, '39b6f89f-7f5a-11ed-9cbf-4a21df182334');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6198, 3170, '0fad32e8-8437-11ed-8d46-7270fbe7c88b');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6199, 3170, 'c4b3b55c-8438-11ed-8d46-7270fbe7c88b');
insert into `sys_deploy_form` (`id`, `form_id`, `deploy_id`) values (6200, 3170, '2519');
commit;

-- ----------------------------
-- table structure for sys_dept
-- ----------------------------
drop table if exists `sys_dept`;
create table `sys_dept` (
                            `dept_id` bigint(20) not null auto_increment comment '部门id',
                            `parent_id` bigint(20) default '0' comment '父部门id',
                            `ancestors` varchar(50) default '' comment '祖级列表',
                            `dept_name` varchar(30) default '' comment '部门名称',
                            `order_num` int(4) default '0' comment '显示顺序',
                            `leader` varchar(20) default null comment '负责人',
                            `phone` varchar(11) default null comment '联系电话',
                            `email` varchar(50) default null comment '邮箱',
                            `status` char(1) default '0' comment '部门状态（0正常 1停用）',
                            `del_flag` char(1) default '0' comment '删除标志（0代表存在 2代表删除）',
                            `create_by` varchar(64) default '' comment '创建者',
                            `create_time` datetime default null comment '创建时间',
                            `update_by` varchar(64) default '' comment '更新者',
                            `update_time` datetime default null comment '更新时间',
                            primary key (`dept_id`)
) engine=innodb auto_increment=110 default charset=utf8mb4 comment='部门表';

-- ----------------------------
-- records of sys_dept
-- ----------------------------
begin;
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (100, 0, '0', '若依科技', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (101, 100, '0,100', '深圳总公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (108, 102, '0,100,102', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
insert into `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) values (109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-12-11 16:51:52', '', null);
commit;

-- ----------------------------
-- table structure for sys_dict_data
-- ----------------------------
drop table if exists `sys_dict_data`;
create table `sys_dict_data` (
                                 `dict_code` bigint(20) not null auto_increment comment '字典编码',
                                 `dict_sort` int(4) default '0' comment '字典排序',
                                 `dict_label` varchar(100) default '' comment '字典标签',
                                 `dict_value` varchar(100) default '' comment '字典键值',
                                 `dict_type` varchar(100) default '' comment '字典类型',
                                 `css_class` varchar(100) default null comment '样式属性（其他样式扩展）',
                                 `list_class` varchar(100) default null comment '表格回显样式',
                                 `is_default` char(1) default 'n' comment '是否默认（y是 n否）',
                                 `status` char(1) default '0' comment '状态（0正常 1停用）',
                                 `create_by` varchar(64) default '' comment '创建者',
                                 `create_time` datetime default null comment '创建时间',
                                 `update_by` varchar(64) default '' comment '更新者',
                                 `update_time` datetime default null comment '更新时间',
                                 `remark` varchar(500) default null comment '备注',
                                 primary key (`dict_code`)
) engine=innodb auto_increment=109 default charset=utf8mb4 comment='字典数据表';

-- ----------------------------
-- records of sys_dict_data
-- ----------------------------
begin;
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, 1, '男', '0', 'sys_user_sex', '', '', 'y', '0', 'admin', '2022-12-11 16:51:52', '', null, '性别男');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, 2, '女', '1', 'sys_user_sex', '', '', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '性别女');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (3, 3, '未知', '2', 'sys_user_sex', '', '', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '性别未知');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'y', '0', 'admin', '2022-12-11 16:51:52', '', null, '显示菜单');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '隐藏菜单');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'y', '0', 'admin', '2022-12-11 16:51:52', '', null, '正常状态');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '停用状态');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'y', '0', 'admin', '2022-12-11 16:51:52', '', null, '正常状态');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '停用状态');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (10, 1, '默认', 'default', 'sys_job_group', '', '', 'y', '0', 'admin', '2022-12-11 16:51:52', '', null, '默认分组');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (11, 2, '系统', 'system', 'sys_job_group', '', '', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '系统分组');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (12, 1, '是', 'y', 'sys_yes_no', '', 'primary', 'y', '0', 'admin', '2022-12-11 16:51:52', '', null, '系统默认是');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (13, 2, '否', 'n', 'sys_yes_no', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '系统默认否');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'y', '0', 'admin', '2022-12-11 16:51:52', '', null, '通知');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '公告');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'y', '0', 'admin', '2022-12-11 16:51:52', '', null, '正常状态');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '关闭状态');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (18, 99, '其他', '0', 'sys_oper_type', '', 'info', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '其他操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (19, 1, '新增', '1', 'sys_oper_type', '', 'info', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '新增操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (20, 2, '修改', '2', 'sys_oper_type', '', 'info', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '修改操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (21, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '删除操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (22, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '授权操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (23, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '导出操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (24, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '导入操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (25, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '强退操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (26, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '生成操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (27, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '清空操作');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (28, 1, '成功', '0', 'sys_common_status', '', 'primary', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '正常状态');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (29, 2, '失败', '1', 'sys_common_status', '', 'danger', 'n', '0', 'admin', '2022-12-11 16:51:52', '', null, '停用状态');
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (100, 0, '请假流程', 'leave', 'sys_process_category', null, 'default', 'n', '0', 'admin', '2022-12-12 11:17:56', '', null, null);
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (101, 0, 'oa流程', 'oa', 'sys_process_category', null, 'default', 'n', '0', 'admin', '2022-12-12 11:18:08', '', null, null);
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (102, 0, '正常', '0', 'common_status', null, 'success', 'n', '0', 'admin', '2022-12-18 22:01:08', '', null, null);
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (103, 1, '禁用', '1', 'common_status', null, 'danger', 'n', '0', 'admin', '2022-12-18 22:01:21', '', null, null);
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (104, 0, '任务监听', '1', 'sys_listener_type', null, 'default', 'n', '0', 'admin', '2022-12-25 11:47:26', '', null, null);
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (105, 2, '执行监听', '2', 'sys_listener_type', null, 'default', 'n', '0', 'admin', '2022-12-25 11:47:37', '', null, null);
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (106, 0, 'java类', '1', 'sys_listener_value_type', null, 'default', 'n', '0', 'admin', '2022-12-25 11:48:55', '', null, null);
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (107, 0, '表达式', '2', 'sys_listener_value_type', null, 'default', 'n', '0', 'admin', '2022-12-25 11:49:05', '', null, null);
insert into `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (108, 0, '代理表达式', '3', 'sys_listener_value_type', null, 'default', 'n', '0', 'admin', '2022-12-25 11:49:16', '', null, null);
commit;

-- ----------------------------
-- table structure for sys_dict_type
-- ----------------------------
drop table if exists `sys_dict_type`;
create table `sys_dict_type` (
                                 `dict_id` bigint(20) not null auto_increment comment '字典主键',
                                 `dict_name` varchar(100) default '' comment '字典名称',
                                 `dict_type` varchar(100) default '' comment '字典类型',
                                 `status` char(1) default '0' comment '状态（0正常 1停用）',
                                 `create_by` varchar(64) default '' comment '创建者',
                                 `create_time` datetime default null comment '创建时间',
                                 `update_by` varchar(64) default '' comment '更新者',
                                 `update_time` datetime default null comment '更新时间',
                                 `remark` varchar(500) default null comment '备注',
                                 primary key (`dict_id`),
                                 unique key `dict_type` (`dict_type`)
) engine=innodb auto_increment=105 default charset=utf8mb4 comment='字典类型表';

-- ----------------------------
-- records of sys_dict_type
-- ----------------------------
begin;
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, '用户性别', 'sys_user_sex', '0', 'admin', '2022-12-11 16:51:52', '', null, '用户性别列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, '菜单状态', 'sys_show_hide', '0', 'admin', '2022-12-11 16:51:52', '', null, '菜单状态列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (3, '系统开关', 'sys_normal_disable', '0', 'admin', '2022-12-11 16:51:52', '', null, '系统开关列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (4, '任务状态', 'sys_job_status', '0', 'admin', '2022-12-11 16:51:52', '', null, '任务状态列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (5, '任务分组', 'sys_job_group', '0', 'admin', '2022-12-11 16:51:52', '', null, '任务分组列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (6, '系统是否', 'sys_yes_no', '0', 'admin', '2022-12-11 16:51:52', '', null, '系统是否列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (7, '通知类型', 'sys_notice_type', '0', 'admin', '2022-12-11 16:51:52', '', null, '通知类型列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (8, '通知状态', 'sys_notice_status', '0', 'admin', '2022-12-11 16:51:52', '', null, '通知状态列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (9, '操作类型', 'sys_oper_type', '0', 'admin', '2022-12-11 16:51:52', '', null, '操作类型列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (10, '系统状态', 'sys_common_status', '0', 'admin', '2022-12-11 16:51:52', '', null, '登录状态列表');
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (100, '流程分类', 'sys_process_category', '0', 'admin', '2022-12-12 11:17:38', '', null, null);
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (101, '通用状态', 'common_status', '0', 'admin', '2022-12-18 22:00:02', '', null, null);
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (102, '监听类型', 'sys_listener_type', '0', 'admin', '2022-12-18 22:03:07', '', null, null);
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (103, '监听值类型', 'sys_listener_value_type', '0', 'admin', '2022-12-18 22:03:39', '', null, null);
insert into `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (104, '监听属性', 'sys_listener_event_type', '0', 'admin', '2022-12-18 22:04:29', '', null, null);
commit;

-- ----------------------------
-- table structure for sys_expression
-- ----------------------------
drop table if exists `sys_expression`;
create table `sys_expression` (
                                  `id` bigint(20) not null auto_increment comment '表单主键',
                                  `name` varchar(50) default null comment '表达式名称',
                                  `expression` varchar(255) default null comment '表达式内容',
                                  `create_time` datetime default null comment '创建时间',
                                  `update_time` datetime default null comment '更新时间',
                                  `create_by` bigint(20) default null comment '创建人员',
                                  `update_by` bigint(20) default null comment '更新人员',
                                  `status` tinyint(2) default '0' comment '状态',
                                  `remark` varchar(255) default null comment '备注',
                                  primary key (`id`) using btree
) engine=innodb auto_increment=3 default charset=utf8mb4 comment='流程表达式';

-- ----------------------------
-- records of sys_expression
-- ----------------------------
begin;
insert into `sys_expression` (`id`, `name`, `expression`, `create_time`, `update_time`, `create_by`, `update_by`, `status`, `remark`) values (1, '流程发起人', '${initiator}', '2022-12-12 17:29:10', null, null, null, 0, null);
insert into `sys_expression` (`id`, `name`, `expression`, `create_time`, `update_time`, `create_by`, `update_by`, `status`, `remark`) values (2, '审批流程指定接收人', '#{approval}', '2022-12-12 17:43:10', null, null, null, 0, null);
commit;

-- ----------------------------
-- table structure for sys_form
-- ----------------------------
drop table if exists `sys_form`;
create table `sys_form` (
                            `form_id` bigint(20) not null auto_increment comment '表单主键',
                            `form_name` varchar(50) default null comment '表单名称',
                            `form_content` longtext comment '表单内容',
                            `create_time` datetime default null comment '创建时间',
                            `update_time` datetime default null comment '更新时间',
                            `create_by` bigint(20) default null comment '创建人员',
                            `update_by` bigint(20) default null comment '更新人员',
                            `remark` varchar(255) default null comment '备注',
                            primary key (`form_id`) using btree
) engine=innodb auto_increment=3171 default charset=utf8mb4 comment='流程表单';

-- ----------------------------
-- records of sys_form
-- ----------------------------
begin;
insert into `sys_form` (`form_id`, `form_name`, `form_content`, `create_time`, `update_time`, `create_by`, `update_by`, `remark`) values (3170, '请假表单', '{\"fields\":[{\"__config__\":{\"label\":\"请假标题\",\"labelwidth\":null,\"showlabel\":true,\"changetag\":true,\"tag\":\"el-input\",\"tagicon\":\"input\",\"required\":true,\"layout\":\"colformitem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-cn/component/input\",\"reglist\":[],\"formid\":101,\"renderkey\":\"1011650592466703\"},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"请输入请假标题\",\"style\":{\"width\":\"100%\"},\"clearable\":true,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vmodel__\":\"field101\"},{\"__config__\":{\"label\":\"请假天数\",\"labelwidth\":null,\"showlabel\":true,\"changetag\":true,\"tag\":\"el-input\",\"tagicon\":\"input\",\"required\":true,\"layout\":\"colformitem\",\"span\":24,\"document\":\"https://element.eleme.cn/#/zh-cn/component/input\",\"reglist\":[],\"formid\":101,\"renderkey\":\"1011646362752852\"},\"__slot__\":{\"prepend\":\"\",\"append\":\"\"},\"placeholder\":\"请输入请假天数\",\"style\":{\"width\":\"100%\"},\"clearable\":true,\"prefix-icon\":\"\",\"suffix-icon\":\"\",\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vmodel__\":\"day\"},{\"__config__\":{\"label\":\"请假备注\",\"labelwidth\":null,\"showlabel\":true,\"tag\":\"el-input\",\"tagicon\":\"textarea\",\"required\":true,\"layout\":\"colformitem\",\"span\":24,\"reglist\":[],\"changetag\":true,\"document\":\"https://element.eleme.cn/#/zh-cn/component/input\",\"formid\":102,\"renderkey\":\"1021650592469692\"},\"type\":\"textarea\",\"placeholder\":\"请输入请假备注\",\"autosize\":{\"minrows\":4,\"maxrows\":4},\"style\":{\"width\":\"100%\"},\"maxlength\":null,\"show-word-limit\":false,\"readonly\":false,\"disabled\":false,\"__vmodel__\":\"field102\"}],\"formref\":\"elform\",\"formmodel\":\"formdata\",\"size\":\"medium\",\"labelposition\":\"right\",\"labelwidth\":100,\"formrules\":\"rules\",\"gutter\":15,\"disabled\":false,\"span\":24,\"formbtns\":true}', '2022-12-11 21:02:39', null, null, null, '请假表单');
commit;

-- ----------------------------
-- table structure for sys_job
-- ----------------------------
drop table if exists `sys_job`;
create table `sys_job` (
                           `job_id` bigint(20) not null auto_increment comment '任务id',
                           `job_name` varchar(64) not null default '' comment '任务名称',
                           `job_group` varchar(64) not null default 'default' comment '任务组名',
                           `invoke_target` varchar(500) not null comment '调用目标字符串',
                           `cron_expression` varchar(255) default '' comment 'cron执行表达式',
                           `misfire_policy` varchar(20) default '3' comment '计划执行错误策略（1立即执行 2执行一次 3放弃执行）',
                           `concurrent` char(1) default '1' comment '是否并发执行（0允许 1禁止）',
                           `status` char(1) default '0' comment '状态（0正常 1暂停）',
                           `create_by` varchar(64) default '' comment '创建者',
                           `create_time` datetime default null comment '创建时间',
                           `update_by` varchar(64) default '' comment '更新者',
                           `update_time` datetime default null comment '更新时间',
                           `remark` varchar(500) default '' comment '备注信息',
                           primary key (`job_id`,`job_name`,`job_group`)
) engine=innodb auto_increment=4 default charset=utf8mb4 comment='定时任务调度表';

-- ----------------------------
-- records of sys_job
-- ----------------------------
begin;
insert into `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, '系统默认（无参）', 'default', 'rytask.rynoparams', '0/10 * * * * ?', '3', '1', '1', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, '系统默认（有参）', 'default', 'rytask.ryparams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (3, '系统默认（多参）', 'default', 'rytask.rymultipleparams(\'ry\', true, 2000l, 316.50d, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', '2022-12-11 16:51:52', '', null, '');
commit;

-- ----------------------------
-- table structure for sys_job_log
-- ----------------------------
drop table if exists `sys_job_log`;
create table `sys_job_log` (
                               `job_log_id` bigint(20) not null auto_increment comment '任务日志id',
                               `job_name` varchar(64) not null comment '任务名称',
                               `job_group` varchar(64) not null comment '任务组名',
                               `invoke_target` varchar(500) not null comment '调用目标字符串',
                               `job_message` varchar(500) default null comment '日志信息',
                               `status` char(1) default '0' comment '执行状态（0正常 1失败）',
                               `exception_info` varchar(2000) default '' comment '异常信息',
                               `create_time` datetime default null comment '创建时间',
                               primary key (`job_log_id`)
) engine=innodb default charset=utf8mb4 comment='定时任务调度日志表';

-- ----------------------------
-- records of sys_job_log
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for sys_listener
-- ----------------------------
drop table if exists `sys_listener`;
create table `sys_listener` (
                                `id` bigint(20) not null auto_increment comment '表单主键',
                                `name` varchar(128) default null comment '名称',
                                `type` char(2) default null comment '监听类型',
                                `event_type` varchar(32) default null comment '事件类型',
                                `value_type` char(2) default null comment '值类型',
                                `value` varchar(255) default null comment '执行内容',
                                `create_time` datetime default null comment '创建时间',
                                `update_time` datetime default null comment '更新时间',
                                `create_by` bigint(20) default null comment '创建人员',
                                `update_by` bigint(20) default null comment '更新人员',
                                `status` tinyint(2) default '0' comment '状态',
                                `remark` varchar(255) default null comment '备注',
                                primary key (`id`) using btree
) engine=innodb auto_increment=3 default charset=utf8mb4 comment='流程监听';

-- ----------------------------
-- records of sys_listener
-- ----------------------------
begin;
insert into `sys_listener` (`id`, `name`, `type`, `event_type`, `value_type`, `value`, `create_time`, `update_time`, `create_by`, `update_by`, `status`, `remark`) values (1, '任务监听', '1', 'assignment', '1', 'com.zbf.flowable.listener.flowtasklistener', '2022-12-25 12:31:50', null, null, null, 0, null);
insert into `sys_listener` (`id`, `name`, `type`, `event_type`, `value_type`, `value`, `create_time`, `update_time`, `create_by`, `update_by`, `status`, `remark`) values (2, '执行监听', '2', 'start', '1', 'com.zbf.flowable.listener.flowexecutionlistener', '2022-12-25 12:41:10', null, null, null, 0, null);
commit;

-- ----------------------------
-- table structure for sys_logininfor
-- ----------------------------
drop table if exists `sys_logininfor`;
create table `sys_logininfor` (
                                  `info_id` bigint(20) not null auto_increment comment '访问id',
                                  `user_name` varchar(50) default '' comment '用户账号',
                                  `ipaddr` varchar(128) default '' comment '登录ip地址',
                                  `login_location` varchar(255) default '' comment '登录地点',
                                  `browser` varchar(50) default '' comment '浏览器类型',
                                  `os` varchar(50) default '' comment '操作系统',
                                  `status` char(1) default '0' comment '登录状态（0成功 1失败）',
                                  `msg` varchar(255) default '' comment '提示消息',
                                  `login_time` datetime default null comment '访问时间',
                                  primary key (`info_id`)
) engine=innodb auto_increment=178 default charset=utf8mb4 comment='系统访问记录';

-- ----------------------------
-- records of sys_logininfor
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for sys_menu
-- ----------------------------
drop table if exists `sys_menu`;
create table `sys_menu` (
                            `menu_id` bigint(20) not null auto_increment comment '菜单id',
                            `menu_name` varchar(50) not null comment '菜单名称',
                            `parent_id` bigint(20) default '0' comment '父菜单id',
                            `order_num` int(4) default '0' comment '显示顺序',
                            `path` varchar(200) default '' comment '路由地址',
                            `component` varchar(255) default null comment '组件路径',
                            `query` varchar(255) default null comment '路由参数',
                            `is_frame` int(1) default '1' comment '是否为外链（0是 1否）',
                            `is_cache` int(1) default '0' comment '是否缓存（0缓存 1不缓存）',
                            `menu_type` char(1) default '' comment '菜单类型（m目录 c菜单 f按钮）',
                            `visible` char(1) default '0' comment '菜单状态（0显示 1隐藏）',
                            `status` char(1) default '0' comment '菜单状态（0正常 1停用）',
                            `perms` varchar(100) default null comment '权限标识',
                            `icon` varchar(100) default '#' comment '菜单图标',
                            `create_by` varchar(64) default '' comment '创建者',
                            `create_time` datetime default null comment '创建时间',
                            `update_by` varchar(64) default '' comment '更新者',
                            `update_time` datetime default null comment '更新时间',
                            `remark` varchar(500) default '' comment '备注',
                            primary key (`menu_id`)
) engine=innodb auto_increment=2048 default charset=utf8mb4 comment='菜单权限表';

-- ----------------------------
-- records of sys_menu
-- ----------------------------
begin;
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, '系统管理', 0, 1, 'system', null, '', 1, 0, 'm', '0', '0', '', 'system', 'admin', '2022-12-11 16:51:52', '', null, '系统管理目录');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, '系统监控', 0, 2, 'monitor', null, '', 1, 0, 'm', '0', '0', '', 'monitor', 'admin', '2022-12-11 16:51:52', '', null, '系统监控目录');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (3, '系统工具', 0, 3, 'tool', null, '', 1, 0, 'm', '0', '0', '', 'tool', 'admin', '2022-12-11 16:51:52', '', null, '系统工具目录');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (4, '若依官网', 0, 4, 'http://ruoyi.vip', null, '', 0, 0, 'm', '0', '0', '', 'guide', 'admin', '2022-12-11 16:51:52', '', null, '若依官网地址');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'c', '0', '0', 'system:user:list', 'user', 'admin', '2022-12-11 16:51:52', '', null, '用户管理菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'c', '0', '0', 'system:role:list', 'peoples', 'admin', '2022-12-11 16:51:52', '', null, '角色管理菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'c', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2022-12-11 16:51:52', '', null, '菜单管理菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', 1, 0, 'c', '0', '0', 'system:dept:list', 'tree', 'admin', '2022-12-11 16:51:52', '', null, '部门管理菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'c', '0', '0', 'system:post:list', 'post', 'admin', '2022-12-11 16:51:52', '', null, '岗位管理菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'c', '0', '0', 'system:dict:list', 'dict', 'admin', '2022-12-11 16:51:52', '', null, '字典管理菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'c', '0', '0', 'system:config:list', 'edit', 'admin', '2022-12-11 16:51:52', '', null, '参数设置菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'c', '0', '0', 'system:notice:list', 'message', 'admin', '2022-12-11 16:51:52', '', null, '通知公告菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'm', '0', '0', '', 'log', 'admin', '2022-12-11 16:51:52', '', null, '日志管理菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', 1, 0, 'c', '0', '0', 'monitor:online:list', 'online', 'admin', '2022-12-11 16:51:52', '', null, '在线用户菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (110, '定时任务', 2, 2, 'job', 'monitor/job/index', '', 1, 0, 'c', '0', '0', 'monitor:job:list', 'job', 'admin', '2022-12-11 16:51:52', '', null, '定时任务菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (111, '数据监控', 2, 3, 'druid', 'monitor/druid/index', '', 1, 0, 'c', '0', '0', 'monitor:druid:list', 'druid', 'admin', '2022-12-11 16:51:52', '', null, '数据监控菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (112, '服务监控', 2, 4, 'server', 'monitor/server/index', '', 1, 0, 'c', '0', '0', 'monitor:server:list', 'server', 'admin', '2022-12-11 16:51:52', '', null, '服务监控菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'c', '0', '0', 'monitor:cache:list', 'redis', 'admin', '2022-12-11 16:51:52', '', null, '缓存监控菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (114, '缓存列表', 2, 6, 'cachelist', 'monitor/cache/list', '', 1, 0, 'c', '0', '0', 'monitor:cache:list', 'redis-list', 'admin', '2022-12-11 16:51:52', '', null, '缓存列表菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (115, '表单构建', 3, 1, 'build', 'tool/build/index', '', 1, 0, 'c', '0', '0', 'tool:build:list', 'build', 'admin', '2022-12-11 16:51:52', '', null, '表单构建菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (116, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'c', '0', '0', 'tool:gen:list', 'code', 'admin', '2022-12-11 16:51:52', '', null, '代码生成菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (117, '系统接口', 3, 3, 'swagger', 'tool/swagger/index', '', 1, 0, 'c', '0', '0', 'tool:swagger:list', 'swagger', 'admin', '2022-12-11 16:51:52', '', null, '系统接口菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'c', '0', '0', 'monitor:operlog:list', 'form', 'admin', '2022-12-11 16:51:52', '', null, '操作日志菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'c', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', '2022-12-11 16:51:52', '', null, '登录日志菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1000, '用户查询', 100, 1, '', '', '', 1, 0, 'f', '0', '0', 'system:user:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1001, '用户新增', 100, 2, '', '', '', 1, 0, 'f', '0', '0', 'system:user:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1002, '用户修改', 100, 3, '', '', '', 1, 0, 'f', '0', '0', 'system:user:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1003, '用户删除', 100, 4, '', '', '', 1, 0, 'f', '0', '0', 'system:user:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1004, '用户导出', 100, 5, '', '', '', 1, 0, 'f', '0', '0', 'system:user:export', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1005, '用户导入', 100, 6, '', '', '', 1, 0, 'f', '0', '0', 'system:user:import', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1006, '重置密码', 100, 7, '', '', '', 1, 0, 'f', '0', '0', 'system:user:resetpwd', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1007, '角色查询', 101, 1, '', '', '', 1, 0, 'f', '0', '0', 'system:role:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1008, '角色新增', 101, 2, '', '', '', 1, 0, 'f', '0', '0', 'system:role:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1009, '角色修改', 101, 3, '', '', '', 1, 0, 'f', '0', '0', 'system:role:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1010, '角色删除', 101, 4, '', '', '', 1, 0, 'f', '0', '0', 'system:role:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1011, '角色导出', 101, 5, '', '', '', 1, 0, 'f', '0', '0', 'system:role:export', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1012, '菜单查询', 102, 1, '', '', '', 1, 0, 'f', '0', '0', 'system:menu:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1013, '菜单新增', 102, 2, '', '', '', 1, 0, 'f', '0', '0', 'system:menu:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1014, '菜单修改', 102, 3, '', '', '', 1, 0, 'f', '0', '0', 'system:menu:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1015, '菜单删除', 102, 4, '', '', '', 1, 0, 'f', '0', '0', 'system:menu:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1016, '部门查询', 103, 1, '', '', '', 1, 0, 'f', '0', '0', 'system:dept:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1017, '部门新增', 103, 2, '', '', '', 1, 0, 'f', '0', '0', 'system:dept:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1018, '部门修改', 103, 3, '', '', '', 1, 0, 'f', '0', '0', 'system:dept:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1019, '部门删除', 103, 4, '', '', '', 1, 0, 'f', '0', '0', 'system:dept:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1020, '岗位查询', 104, 1, '', '', '', 1, 0, 'f', '0', '0', 'system:post:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1021, '岗位新增', 104, 2, '', '', '', 1, 0, 'f', '0', '0', 'system:post:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1022, '岗位修改', 104, 3, '', '', '', 1, 0, 'f', '0', '0', 'system:post:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1023, '岗位删除', 104, 4, '', '', '', 1, 0, 'f', '0', '0', 'system:post:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1024, '岗位导出', 104, 5, '', '', '', 1, 0, 'f', '0', '0', 'system:post:export', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1025, '字典查询', 105, 1, '#', '', '', 1, 0, 'f', '0', '0', 'system:dict:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1026, '字典新增', 105, 2, '#', '', '', 1, 0, 'f', '0', '0', 'system:dict:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1027, '字典修改', 105, 3, '#', '', '', 1, 0, 'f', '0', '0', 'system:dict:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1028, '字典删除', 105, 4, '#', '', '', 1, 0, 'f', '0', '0', 'system:dict:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1029, '字典导出', 105, 5, '#', '', '', 1, 0, 'f', '0', '0', 'system:dict:export', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1030, '参数查询', 106, 1, '#', '', '', 1, 0, 'f', '0', '0', 'system:config:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1031, '参数新增', 106, 2, '#', '', '', 1, 0, 'f', '0', '0', 'system:config:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1032, '参数修改', 106, 3, '#', '', '', 1, 0, 'f', '0', '0', 'system:config:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1033, '参数删除', 106, 4, '#', '', '', 1, 0, 'f', '0', '0', 'system:config:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1034, '参数导出', 106, 5, '#', '', '', 1, 0, 'f', '0', '0', 'system:config:export', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1035, '公告查询', 107, 1, '#', '', '', 1, 0, 'f', '0', '0', 'system:notice:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1036, '公告新增', 107, 2, '#', '', '', 1, 0, 'f', '0', '0', 'system:notice:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1037, '公告修改', 107, 3, '#', '', '', 1, 0, 'f', '0', '0', 'system:notice:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1038, '公告删除', 107, 4, '#', '', '', 1, 0, 'f', '0', '0', 'system:notice:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1039, '操作查询', 500, 1, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:operlog:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1040, '操作删除', 500, 2, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:operlog:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1041, '日志导出', 500, 3, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:operlog:export', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1042, '登录查询', 501, 1, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:logininfor:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1043, '登录删除', 501, 2, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:logininfor:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1044, '日志导出', 501, 3, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:logininfor:export', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1045, '账户解锁', 501, 4, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:logininfor:unlock', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1046, '在线查询', 109, 1, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:online:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1047, '批量强退', 109, 2, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:online:batchlogout', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1048, '单条强退', 109, 3, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:online:forcelogout', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1049, '任务查询', 110, 1, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:job:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1050, '任务新增', 110, 2, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:job:add', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1051, '任务修改', 110, 3, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:job:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1052, '任务删除', 110, 4, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:job:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1053, '状态修改', 110, 5, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:job:changestatus', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1054, '任务导出', 110, 6, '#', '', '', 1, 0, 'f', '0', '0', 'monitor:job:export', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1055, '生成查询', 116, 1, '#', '', '', 1, 0, 'f', '0', '0', 'tool:gen:query', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1056, '生成修改', 116, 2, '#', '', '', 1, 0, 'f', '0', '0', 'tool:gen:edit', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1057, '生成删除', 116, 3, '#', '', '', 1, 0, 'f', '0', '0', 'tool:gen:remove', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1058, '导入代码', 116, 4, '#', '', '', 1, 0, 'f', '0', '0', 'tool:gen:import', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1059, '预览代码', 116, 5, '#', '', '', 1, 0, 'f', '0', '0', 'tool:gen:preview', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1060, '生成代码', 116, 6, '#', '', '', 1, 0, 'f', '0', '0', 'tool:gen:code', '#', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2020, '流程管理', 0, 6, 'flowable', null, null, 1, 0, 'm', '0', '0', null, 'cascader', 'tony', '2021-03-25 11:35:09', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2022, '流程定义', 2020, 2, 'definition', 'flowable/definition/index', null, 1, 0, 'c', '0', '0', '', 'job', 'tony', '2021-03-25 13:53:55', 'admin', '2021-03-29 09:39:07', '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2023, '任务管理', 0, 7, 'task', null, null, 1, 0, 'm', '0', '0', '', 'dict', 'tony', '2021-03-26 10:53:10', 'admin', '2021-03-29 09:37:40', '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2024, '待办任务', 2023, 2, 'todo', 'flowable/task/todo/index', null, 1, 1, 'c', '0', '0', '', 'cascader', 'admin', '2021-03-26 10:55:52', 'admin', '2021-03-30 09:26:36', '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2025, '已办任务', 2023, 3, 'finished', 'flowable/task/finished/index', null, 1, 1, 'c', '0', '0', '', 'time-range', 'admin', '2021-03-26 10:57:54', 'admin', '2021-03-30 09:26:50', '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2026, '我的流程', 2023, 1, 'process', 'flowable/task/myprocess/index', null, 1, 1, 'c', '0', '0', '', 'guide', 'admin', '2021-03-30 09:26:23', 'admin', '2022-12-12 09:58:07', '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2027, '表单配置', 2020, 2, 'form', 'flowable/task/form/index', null, 1, 0, 'c', '0', '0', 'flowable:form:list', 'form', 'admin', '2021-03-30 22:55:12', 'admin', '2021-04-03 18:50:54', '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2028, '新增', 2027, 1, '', null, null, 1, 0, 'f', '0', '0', 'flowable:form:add', '#', 'admin', '2021-07-07 14:23:37', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2029, '删除', 2027, 3, '', null, null, 1, 0, 'f', '0', '0', 'flowable:form:remove', '#', 'admin', '2021-07-07 14:24:10', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2030, '编辑', 2027, 2, '', null, null, 1, 0, 'f', '0', '0', 'flowable:form:edit', '#', 'admin', '2021-07-07 14:24:31', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2031, '新增', 2026, 1, '', null, null, 1, 0, 'f', '0', '0', 'system:deployment:add', '#', 'admin', '2021-07-07 14:25:22', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2032, '编辑', 2026, 2, '', null, null, 1, 0, 'f', '0', '0', 'system:deployment:edit', '#', 'admin', '2021-07-07 14:25:47', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2033, '删除', 2026, 3, '', null, null, 1, 0, 'f', '0', '0', 'system:deployment:remove', '#', 'admin', '2021-07-07 14:26:02', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2034, '查询', 2027, 4, '', null, null, 1, 0, 'f', '0', '0', 'flowable:form:query', '#', 'admin', '2021-07-08 14:05:22', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2035, '修改密码', 100, 8, '', null, null, 1, 0, 'f', '0', '0', 'system:user:updatepwd', '#', 'admin', '2022-04-29 11:27:13', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2036, '流程表达式', 2020, 3, 'expression', 'system/expression/index', null, 1, 1, 'c', '0', '0', 'system:expression:list', 'list', 'admin', '2022-12-12 17:12:19', 'admin', '2022-12-12 17:13:44', '流程达式菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2037, '流程达式查询', 2036, 1, '#', '', null, 1, 0, 'f', '0', '0', 'system:expression:query', '#', 'admin', '2022-12-12 17:12:19', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2038, '流程达式新增', 2036, 2, '#', '', null, 1, 0, 'f', '0', '0', 'system:expression:add', '#', 'admin', '2022-12-12 17:12:19', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2039, '流程达式修改', 2036, 3, '#', '', null, 1, 0, 'f', '0', '0', 'system:expression:edit', '#', 'admin', '2022-12-12 17:12:19', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2040, '流程达式删除', 2036, 4, '#', '', null, 1, 0, 'f', '0', '0', 'system:expression:remove', '#', 'admin', '2022-12-12 17:12:19', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2041, '流程达式导出', 2036, 5, '#', '', null, 1, 0, 'f', '0', '0', 'system:expression:export', '#', 'admin', '2022-12-12 17:12:19', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2042, '流程监听', 2020, 1, 'listener', 'system/listener/index', null, 1, 0, 'c', '0', '0', 'system:listener:list', '#', 'admin', '2022-12-25 11:44:16', '', null, '流程监听菜单');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2043, '流程监听查询', 2042, 1, '#', '', null, 1, 0, 'f', '0', '0', 'system:listener:query', '#', 'admin', '2022-12-25 11:44:16', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2044, '流程监听新增', 2042, 2, '#', '', null, 1, 0, 'f', '0', '0', 'system:listener:add', '#', 'admin', '2022-12-25 11:44:16', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2045, '流程监听修改', 2042, 3, '#', '', null, 1, 0, 'f', '0', '0', 'system:listener:edit', '#', 'admin', '2022-12-25 11:44:16', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2046, '流程监听删除', 2042, 4, '#', '', null, 1, 0, 'f', '0', '0', 'system:listener:remove', '#', 'admin', '2022-12-25 11:44:16', '', null, '');
insert into `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2047, '流程监听导出', 2042, 5, '#', '', null, 1, 0, 'f', '0', '0', 'system:listener:export', '#', 'admin', '2022-12-25 11:44:16', '', null, '');
commit;

-- ----------------------------
-- table structure for sys_notice
-- ----------------------------
drop table if exists `sys_notice`;
create table `sys_notice` (
                              `notice_id` int(4) not null auto_increment comment '公告id',
                              `notice_title` varchar(50) not null comment '公告标题',
                              `notice_type` char(1) not null comment '公告类型（1通知 2公告）',
                              `notice_content` longblob comment '公告内容',
                              `status` char(1) default '0' comment '公告状态（0正常 1关闭）',
                              `create_by` varchar(64) default '' comment '创建者',
                              `create_time` datetime default null comment '创建时间',
                              `update_by` varchar(64) default '' comment '更新者',
                              `update_time` datetime default null comment '更新时间',
                              `remark` varchar(255) default null comment '备注',
                              primary key (`notice_id`)
) engine=innodb auto_increment=3 default charset=utf8mb4 comment='通知公告表';

-- ----------------------------
-- records of sys_notice
-- ----------------------------
begin;
insert into `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, '温馨提醒：2018-07-01 若依新版本发布啦', '2', 0xe696b0e78988e69cace58685e5aeb9, '0', 'admin', '2022-12-11 16:51:52', '', null, '管理员');
insert into `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, '维护通知：2018-07-01 若依系统凌晨维护', '1', 0xe7bbb4e68aa4e58685e5aeb9, '0', 'admin', '2022-12-11 16:51:52', '', null, '管理员');
commit;

-- ----------------------------
-- table structure for sys_oper_log
-- ----------------------------
drop table if exists `sys_oper_log`;
create table `sys_oper_log` (
                                `oper_id` bigint(20) not null auto_increment comment '日志主键',
                                `title` varchar(50) default '' comment '模块标题',
                                `business_type` int(2) default '0' comment '业务类型（0其它 1新增 2修改 3删除）',
                                `method` varchar(100) default '' comment '方法名称',
                                `request_method` varchar(10) default '' comment '请求方式',
                                `operator_type` int(1) default '0' comment '操作类别（0其它 1后台用户 2手机端用户）',
                                `oper_name` varchar(50) default '' comment '操作人员',
                                `dept_name` varchar(50) default '' comment '部门名称',
                                `oper_url` varchar(255) default '' comment '请求url',
                                `oper_ip` varchar(128) default '' comment '主机地址',
                                `oper_location` varchar(255) default '' comment '操作地点',
                                `oper_param` varchar(2000) default '' comment '请求参数',
                                `json_result` varchar(2000) default '' comment '返回参数',
                                `status` int(1) default '0' comment '操作状态（0正常 1异常）',
                                `error_msg` varchar(2000) default '' comment '错误消息',
                                `oper_time` datetime default null comment '操作时间',
                                `cost_time` bigint(20) default '0' comment '消耗时间',
                                primary key (`oper_id`)
) engine=innodb auto_increment=166 default charset=utf8mb4 comment='操作日志记录';

-- ----------------------------
-- records of sys_oper_log
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for sys_post
-- ----------------------------
drop table if exists `sys_post`;
create table `sys_post` (
                            `post_id` bigint(20) not null auto_increment comment '岗位id',
                            `post_code` varchar(64) not null comment '岗位编码',
                            `post_name` varchar(50) not null comment '岗位名称',
                            `post_sort` int(4) not null comment '显示顺序',
                            `status` char(1) not null comment '状态（0正常 1停用）',
                            `create_by` varchar(64) default '' comment '创建者',
                            `create_time` datetime default null comment '创建时间',
                            `update_by` varchar(64) default '' comment '更新者',
                            `update_time` datetime default null comment '更新时间',
                            `remark` varchar(500) default null comment '备注',
                            primary key (`post_id`)
) engine=innodb auto_increment=5 default charset=utf8mb4 comment='岗位信息表';

-- ----------------------------
-- records of sys_post
-- ----------------------------
begin;
insert into `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, 'ceo', '董事长', 1, '0', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, 'se', '项目经理', 2, '0', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (3, 'hr', '人力资源', 3, '0', 'admin', '2022-12-11 16:51:52', '', null, '');
insert into `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (4, 'user', '普通员工', 4, '0', 'admin', '2022-12-11 16:51:52', '', null, '');
commit;

-- ----------------------------
-- table structure for sys_role
-- ----------------------------
drop table if exists `sys_role`;
create table `sys_role` (
                            `role_id` bigint(20) not null auto_increment comment '角色id',
                            `role_name` varchar(30) not null comment '角色名称',
                            `role_key` varchar(100) not null comment '角色权限字符串',
                            `role_sort` int(4) not null comment '显示顺序',
                            `data_scope` char(1) default '1' comment '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
                            `menu_check_strictly` tinyint(1) default '1' comment '菜单树选择项是否关联显示',
                            `dept_check_strictly` tinyint(1) default '1' comment '部门树选择项是否关联显示',
                            `status` char(1) not null comment '角色状态（0正常 1停用）',
                            `del_flag` char(1) default '0' comment '删除标志（0代表存在 2代表删除）',
                            `create_by` varchar(64) default '' comment '创建者',
                            `create_time` datetime default null comment '创建时间',
                            `update_by` varchar(64) default '' comment '更新者',
                            `update_time` datetime default null comment '更新时间',
                            `remark` varchar(500) default null comment '备注',
                            primary key (`role_id`)
) engine=innodb auto_increment=3 default charset=utf8mb4 comment='角色信息表';

-- ----------------------------
-- records of sys_role
-- ----------------------------
begin;
insert into `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, '超级管理员', 'admin', 1, '1', 1, 1, '0', '0', 'admin', '2022-12-11 16:51:52', '', null, '超级管理员');
insert into `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, '普通角色', 'common', 2, '2', 1, 1, '0', '0', 'admin', '2022-12-11 16:51:52', 'admin', '2022-12-26 11:30:33', '普通角色');
commit;

-- ----------------------------
-- table structure for sys_role_dept
-- ----------------------------
drop table if exists `sys_role_dept`;
create table `sys_role_dept` (
                                 `role_id` bigint(20) not null comment '角色id',
                                 `dept_id` bigint(20) not null comment '部门id',
                                 primary key (`role_id`,`dept_id`)
) engine=innodb default charset=utf8mb4 comment='角色和部门关联表';

-- ----------------------------
-- records of sys_role_dept
-- ----------------------------
begin;
insert into `sys_role_dept` (`role_id`, `dept_id`) values (2, 100);
insert into `sys_role_dept` (`role_id`, `dept_id`) values (2, 101);
insert into `sys_role_dept` (`role_id`, `dept_id`) values (2, 105);
commit;

-- ----------------------------
-- table structure for sys_role_menu
-- ----------------------------
drop table if exists `sys_role_menu`;
create table `sys_role_menu` (
                                 `role_id` bigint(20) not null comment '角色id',
                                 `menu_id` bigint(20) not null comment '菜单id',
                                 primary key (`role_id`,`menu_id`)
) engine=innodb default charset=utf8mb4 comment='角色和菜单关联表';

-- ----------------------------
-- records of sys_role_menu
-- ----------------------------
begin;
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 3);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 4);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 100);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 101);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 102);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 103);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 104);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 105);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 106);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 107);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 108);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 109);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 110);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 111);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 112);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 113);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 114);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 115);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 116);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 117);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 500);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 501);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1000);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1001);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1002);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1003);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1004);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1005);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1006);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1007);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1008);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1009);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1010);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1011);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1012);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1013);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1014);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1015);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1016);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1017);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1018);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1019);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1020);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1021);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1022);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1023);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1024);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1025);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1026);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1027);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1028);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1029);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1030);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1031);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1032);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1033);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1034);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1035);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1036);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1037);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1038);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1039);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1040);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1041);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1042);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1043);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1044);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1045);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1046);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1047);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1048);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1049);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1050);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1051);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1052);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1053);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1054);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1055);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1056);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1057);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1058);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1059);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 1060);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2020);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2022);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2023);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2024);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2025);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2026);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2027);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2028);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2029);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2030);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2031);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2032);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2033);
insert into `sys_role_menu` (`role_id`, `menu_id`) values (2, 2034);
commit;

-- ----------------------------
-- table structure for sys_task_form
-- ----------------------------
drop table if exists `sys_task_form`;
create table `sys_task_form` (
                                 `id` bigint(20) not null auto_increment comment '主键',
                                 `form_id` bigint(20) default null comment '表单主键',
                                 `task_id` varchar(50) default null comment '所属任务',
                                 primary key (`id`) using btree
) engine=innodb default charset=utf8mb4 comment='流程任务关联表单';

-- ----------------------------
-- records of sys_task_form
-- ----------------------------
begin;
commit;

-- ----------------------------
-- table structure for sys_user
-- ----------------------------
drop table if exists `sys_user`;
create table `sys_user` (
                            `user_id` bigint(20) not null auto_increment comment '用户id',
                            `dept_id` bigint(20) default null comment '部门id',
                            `user_name` varchar(30) not null comment '用户账号',
                            `nick_name` varchar(30) not null comment '用户名称',
                            `user_type` varchar(2) default '00' comment '用户类型（00系统用户）',
                            `email` varchar(50) default '' comment '用户邮箱',
                            `phonenumber` varchar(11) default '' comment '手机号码',
                            `sex` char(1) default '0' comment '用户性别（0男 1女 2未知）',
                            `avatar` varchar(100) default '' comment '头像地址',
                            `password` varchar(100) default '' comment '密码',
                            `status` char(1) default '0' comment '帐号状态（0正常 1停用）',
                            `del_flag` char(1) default '0' comment '删除标志（0代表存在 2代表删除）',
                            `login_ip` varchar(128) default '' comment '最后登录ip',
                            `login_date` datetime default null comment '最后登录时间',
                            `create_by` varchar(64) default '' comment '创建者',
                            `create_time` datetime default null comment '创建时间',
                            `update_by` varchar(64) default '' comment '更新者',
                            `update_time` datetime default null comment '更新时间',
                            `remark` varchar(500) default null comment '备注',
                            primary key (`user_id`)
) engine=innodb auto_increment=3 default charset=utf8mb4 comment='用户信息表';

-- ----------------------------
-- records of sys_user
-- ----------------------------
begin;
insert into `sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (1, 103, 'admin', '若依', '00', 'ry@163.com', '15888888888', '1', '', '$2a$10$7jb720yubvszvui0reqk/.vqgozth.ulu33dhoibe8byohjirdau2', '0', '0', '127.0.0.1', '2022-12-28 15:47:23', 'admin', '2022-12-11 16:51:52', '', '2022-12-28 15:47:22', '管理员');
insert into `sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) values (2, 105, 'ry', '李四', '00', 'ry@qq.com', '15666666666', '1', '', '$2a$10$7jb720yubvszvui0reqk/.vqgozth.ulu33dhoibe8byohjirdau2', '0', '0', '127.0.0.1', '2022-12-26 11:30:01', 'admin', '2022-12-11 16:51:52', 'admin', '2022-12-26 11:30:01', '测试员');
commit;

-- ----------------------------
-- table structure for sys_user_post
-- ----------------------------
drop table if exists `sys_user_post`;
create table `sys_user_post` (
                                 `user_id` bigint(20) not null comment '用户id',
                                 `post_id` bigint(20) not null comment '岗位id',
                                 primary key (`user_id`,`post_id`)
) engine=innodb default charset=utf8mb4 comment='用户与岗位关联表';

-- ----------------------------
-- records of sys_user_post
-- ----------------------------
begin;
insert into `sys_user_post` (`user_id`, `post_id`) values (1, 1);
insert into `sys_user_post` (`user_id`, `post_id`) values (2, 2);
commit;

-- ----------------------------
-- table structure for sys_user_role
-- ----------------------------
drop table if exists `sys_user_role`;
create table `sys_user_role` (
                                 `user_id` bigint(20) not null comment '用户id',
                                 `role_id` bigint(20) not null comment '角色id',
                                 primary key (`user_id`,`role_id`)
) engine=innodb default charset=utf8mb4 comment='用户和角色关联表';

-- ----------------------------
-- records of sys_user_role
-- ----------------------------
begin;
insert into `sys_user_role` (`user_id`, `role_id`) values (1, 1);
insert into `sys_user_role` (`user_id`, `role_id`) values (2, 2);
commit;

set foreign_key_checks = 1;
