“泛娱乐”数据库设计开源

23
9月

微瑞思创信息科技遵循 Apache 的开源协议,对微瑞旗下的“泛娱乐”平台的数据库、数据结构设计进行开源,方便业内进行数据对接。

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

“License” shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

“Licensor” shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

“Legal Entity” shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, “control” means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

“You” (or “Your”) shall mean an individual or Legal Entity exercising permissions granted by this License.

“Source” form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

“Object” form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

“Work” shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

“Derivative Works” shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

“Contribution” shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, “submitted” means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as “Not a Contribution.”

“Contributor” shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and

(d) If the Work includes a “NOTICE” text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets “[]” replaced with your own identifying information. (Don’t include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same “printed page” as the copyright notice for easier identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

— —————————-
— Table structure for Product
— —————————-
DROP TABLE IF EXISTS `Product`;
CREATE TABLE `Product` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`author_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`author_uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`author_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`description` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`forward` bigint(20) NULL DEFAULT NULL,
`identifier` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`likenum` int(11) NULL DEFAULT NULL,
`link` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`price` float NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`ref` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`sales` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `identifier_type`(`identifier`, `type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for SEQUENCE
— —————————-
DROP TABLE IF EXISTS `SEQUENCE`;
CREATE TABLE `SEQUENCE` (
`SEQ_NAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`SEQ_COUNT` decimal(38, 0) NULL DEFAULT NULL,
PRIMARY KEY (`SEQ_NAME`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for Variables
— —————————-
DROP TABLE IF EXISTS `Variables`;
CREATE TABLE `Variables` (
`VAR_ID` int(11) NOT NULL AUTO_INCREMENT,
`VAR_STR` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`VAR_ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for account_balance
— —————————-
DROP TABLE IF EXISTS `account_balance`;
CREATE TABLE `account_balance` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`weiresearchAD_balance` double NULL DEFAULT 0,
PRIMARY KEY (`uid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for account_group
— —————————-
DROP TABLE IF EXISTS `account_group`;
CREATE TABLE `account_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NULL DEFAULT NULL,
`domainId` smallint(6) NULL DEFAULT NULL,
`oAuthId` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`accessToken` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`refreshToken` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`authorizationTime` datetime(0) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`head` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`fStartTime` datetime(0) NULL DEFAULT NULL,
`fCount` int(11) NULL DEFAULT NULL,
`wechat` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for advertisment_schedule
— —————————-
DROP TABLE IF EXISTS `advertisment_schedule`;
CREATE TABLE `advertisment_schedule` (
`sid` int(11) NOT NULL,
`schedule` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`sid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for advertisment_space
— —————————-
DROP TABLE IF EXISTS `advertisment_space`;
CREATE TABLE `advertisment_space` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`site_id` int(11) NOT NULL,
`statistic` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`type` smallint(6) NULL DEFAULT 0,
`adsize` int(11) NULL DEFAULT 0,
`spaceName` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`price` double NULL DEFAULT 0,
`status` smallint(6) NULL DEFAULT 0,
`position` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT ”,
`config` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for advertisment_statistic
— —————————-
DROP TABLE IF EXISTS `advertisment_statistic`;
CREATE TABLE `advertisment_statistic` (
`sid` int(11) NOT NULL,
`statistic` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`sid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for airports
— —————————-
DROP TABLE IF EXISTS `airports`;
CREATE TABLE `airports` (
`airport_id` int(11) NOT NULL AUTO_INCREMENT,
`city_id` int(11) NULL DEFAULT NULL,
`airport_code` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`airport_name_zh` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`airport_name_en` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`airport_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for airqualityindex
— —————————-
DROP TABLE IF EXISTS `airqualityindex`;
CREATE TABLE `airqualityindex` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`station` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`airquality` double NULL DEFAULT NULL,
`pm25` double NULL DEFAULT NULL,
`pm10` double NULL DEFAULT NULL,
`co` double NULL DEFAULT NULL,
`no2` double NULL DEFAULT NULL,
`so2` double NULL DEFAULT NULL,
`humidity` double NULL DEFAULT NULL,
`precipitation` double NULL DEFAULT NULL,
`wind` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`windpower` double NULL DEFAULT NULL,
`pubdate` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for aiweibang_arti
— —————————-
DROP TABLE IF EXISTS `aiweibang_arti`;
CREATE TABLE `aiweibang_arti` (
`id` int(11) NOT NULL DEFAULT 0,
`vpuid` bigint(20) NULL DEFAULT NULL,
`url` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`liked` int(11) NULL DEFAULT NULL,
`viewed` int(11) NULL DEFAULT NULL,
`title` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`content` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`pubdate` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for alarm_entry
— —————————-
DROP TABLE IF EXISTS `alarm_entry`;
CREATE TABLE `alarm_entry` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`emotionId` int(11) NULL DEFAULT NULL,
`isSend` tinyint(1) NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for anchor
— —————————-
DROP TABLE IF EXISTS `anchor`;
CREATE TABLE `anchor` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`domain` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`room_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`fans` int(11) NULL DEFAULT NULL,
`income` double NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT ‘1970-01-01 00:00:00’,
`introduce` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for anime
— —————————-
DROP TABLE IF EXISTS `anime`;
CREATE TABLE `anime` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`work_vpuid` bigint(20) NULL DEFAULT NULL,
`img` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`urls` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`country` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`create_on` date NULL DEFAULT NULL,
`finish_on` date NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
`update_on` date NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for anime_stat
— —————————-
DROP TABLE IF EXISTS `anime_stat`;
CREATE TABLE `anime_stat` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`anid` int(11) NULL DEFAULT NULL,
`save` int(11) NULL DEFAULT NULL,
`constant_visit` bigint(20) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`free_positive` int(11) NULL DEFAULT NULL,
`nagetive` int(11) NULL DEFAULT NULL,
`score` double NULL DEFAULT NULL,
`grade` int(11) NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
`rank` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`accident_visit` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for api_account_balance
— —————————-
DROP TABLE IF EXISTS `api_account_balance`;
CREATE TABLE `api_account_balance` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`balance` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for attractions
— —————————-
DROP TABLE IF EXISTS `attractions`;
CREATE TABLE `attractions` (
`attraction_id` int(11) NOT NULL AUTO_INCREMENT,
`city_id` int(11) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`attraction_name_zh` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_name_en` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_brief` varchar(8000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_comments` int(11) NULL DEFAULT NULL,
`attraction_travel_notes` int(11) NULL DEFAULT NULL,
`attraction_longitude` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_latitude` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_mentions` int(11) NULL DEFAULT NULL,
`attraction_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_tags` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`language` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`activities` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`fee` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`lastingtime` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_grade` double(3, 2) NULL DEFAULT NULL,
`attraction_website` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_traffic` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attraction_opentime` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`attraction_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for author
— —————————-
DROP TABLE IF EXISTS `author`;
CREATE TABLE `author` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`description` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`lable` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`honor` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`level` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sign` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`create_on` date NULL DEFAULT NULL,
`word` int(255) NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for author_person_rel
— —————————-
DROP TABLE IF EXISTS `author_person_rel`;
CREATE TABLE `author_person_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`aid` int(11) NULL DEFAULT NULL,
`pid` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for author_stat
— —————————-
DROP TABLE IF EXISTS `author_stat`;
CREATE TABLE `author_stat` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`aid` int(11) NULL DEFAULT NULL,
`word` int(11) NULL DEFAULT NULL,
`popularity` int(11) NULL DEFAULT NULL,
`follow` int(11) NULL DEFAULT NULL,
`twitter` int(11) NULL DEFAULT NULL,
`fans` int(11) NULL DEFAULT NULL,
`positive` int(11) NULL DEFAULT NULL,
`money` int(11) NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for boxoffice
— —————————-
DROP TABLE IF EXISTS `boxoffice`;
CREATE TABLE `boxoffice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`movie_id` int(11) NULL DEFAULT NULL,
`session` int(11) NULL DEFAULT NULL,
`total_session` int(11) NULL DEFAULT NULL,
`person_time` bigint(20) NULL DEFAULT NULL,
`attendance_rate` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`price` smallint(6) NULL DEFAULT NULL,
`boxoffice` int(11) NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`wp_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`network_boxoffice` int(11) NULL DEFAULT NULL,
`boxoffice_proportion` double NULL DEFAULT NULL,
`session_proportion` double NULL DEFAULT NULL,
`person_time_proportion` double NULL DEFAULT NULL,
`domain` int(11) NULL DEFAULT NULL,
`prime_session` int(11) NULL DEFAULT NULL,
`prime_session_proportion` double NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for boxoffice_detail
— —————————-
DROP TABLE IF EXISTS `boxoffice_detail`;
CREATE TABLE `boxoffice_detail` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`boxoffice_id` int(11) NULL DEFAULT NULL,
`movie_id` int(11) NULL DEFAULT NULL,
`session` int(11) NULL DEFAULT NULL,
`total_session` int(11) NULL DEFAULT NULL,
`person_time` int(11) NULL DEFAULT NULL,
`attendance_rate` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`price` smallint(6) NULL DEFAULT NULL,
`boxoffice` int(11) NULL DEFAULT NULL,
`city` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`network_boxoffice` int(11) NULL DEFAULT NULL,
`boxoffice_proportion` double NULL DEFAULT NULL,
`session_proportion` double NULL DEFAULT NULL,
`person_time_proportion` double NULL DEFAULT NULL,
`domain` int(11) NULL DEFAULT NULL,
`prime_session` int(11) NULL DEFAULT NULL,
`prime_session_proportion` double NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for camcard_abnormal
— —————————-
DROP TABLE IF EXISTS `camcard_abnormal`;
CREATE TABLE `camcard_abnormal` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`reg_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`province` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`in_season` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`in_date` datetime(0) NULL DEFAULT NULL,
`out_season` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`out_date` datetime(0) NULL DEFAULT NULL,
`department` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`last_update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `company_id`(`company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for camcard_branches
— —————————-
DROP TABLE IF EXISTS `camcard_branches`;
CREATE TABLE `camcard_branches` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`seq_no` int(10) NULL DEFAULT NULL,
`req_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`belong_org` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`oper_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `company_id`(`company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for camcard_changerecords
— —————————-
DROP TABLE IF EXISTS `camcard_changerecords`;
CREATE TABLE `camcard_changerecords` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`seq_no` int(10) NULL DEFAULT NULL,
`company_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`after_content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`before_content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`change_date` datetime(0) NULL DEFAULT NULL,
`change_item` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `company_id`(`company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for camcard_company_info
— —————————-
DROP TABLE IF EXISTS `camcard_company_info`;
CREATE TABLE `camcard_company_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`eco_kind` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`regist_capi` double(20, 0) NULL DEFAULT NULL,
`scope` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`term_start` date NULL DEFAULT NULL,
`term_end` date NULL DEFAULT NULL,
`belong_org` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`oper_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`start_date` date NULL DEFAULT NULL,
`end_date` date NULL DEFAULT NULL,
`status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`abnormal_num` int(11) NULL DEFAULT 0,
`province` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`postcode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`last_update_time` date NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `company_id`(`company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for camcard_employee
— —————————-
DROP TABLE IF EXISTS `camcard_employee`;
CREATE TABLE `camcard_employee` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`seq_no` int(10) NULL DEFAULT NULL,
`job_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sex` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`cer_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `company_id`(`company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for camcard_partners
— —————————-
DROP TABLE IF EXISTS `camcard_partners`;
CREATE TABLE `camcard_partners` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`seq_no` int(10) NULL DEFAULT NULL,
`ex_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`stock_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`stock_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`stock_percent` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`identify_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`identify_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`real_capi` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`real_capi_date` datetime(0) NULL DEFAULT NULL,
`real_invest_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`should_capi` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`should_capi_date` datetime(0) NULL DEFAULT NULL,
`should_invest_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `company_id`(`company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for camcard_recruit
— —————————-
DROP TABLE IF EXISTS `camcard_recruit`;
CREATE TABLE `camcard_recruit` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`salary` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`years` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`location` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`education` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`position` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`qualification` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`jobsize` int(11) NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`source` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`creat_time` date NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `fk_company_id`(`company_id`(4)) USING BTREE,
INDEX `company_id`(`company_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for category
— —————————-
DROP TABLE IF EXISTS `category`;
CREATE TABLE `category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`label` varchar(200) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
FULLTEXT INDEX `label`(`label`)
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for category_interesting
— —————————-
DROP TABLE IF EXISTS `category_interesting`;
CREATE TABLE `category_interesting` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`nid` bigint(20) NULL DEFAULT NULL,
`label` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`emotion` float NULL DEFAULT NULL,
`tf_idf` double NULL DEFAULT NULL,
`pubtime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `key`(`label`, `nid`) USING BTREE,
INDEX `nid`(`nid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic PARTITION BY RANGE (id)
PARTITIONS 16
(PARTITION `p0` VALUES LESS THAN (2000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p1` VALUES LESS THAN (4000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p2` VALUES LESS THAN (6000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p3` VALUES LESS THAN (8000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p4` VALUES LESS THAN (10000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p5` VALUES LESS THAN (12000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p6` VALUES LESS THAN (14000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p7` VALUES LESS THAN (16000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p8` VALUES LESS THAN (18000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p9` VALUES LESS THAN (20000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p10` VALUES LESS THAN (22000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p11` VALUES LESS THAN (24000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p12` VALUES LESS THAN (26000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p13` VALUES LESS THAN (28000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p14` VALUES LESS THAN (30000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p15` VALUES LESS THAN (MAXVALUE) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 )
;

— —————————-
— Table structure for chat_robot
— —————————-
DROP TABLE IF EXISTS `chat_robot`;
CREATE TABLE `chat_robot` (
`vpuid` bigint(20) NOT NULL,
`data` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`robot_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`robot_account` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`robot_url` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`vpuid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for cinema_match
— —————————-
DROP TABLE IF EXISTS `cinema_match`;
CREATE TABLE `cinema_match` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`city` varchar(225) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`area` varchar(225) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(225) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘选定猫眼电影院名’,
`cinema_name` varchar(225) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ‘电影院名’,
`domain` varchar(225) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for cities
— —————————-
DROP TABLE IF EXISTS `cities`;
CREATE TABLE `cities` (
`city_id` int(11) NOT NULL AUTO_INCREMENT,
`country_id` int(11) NULL DEFAULT NULL,
`city_name_zh` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`city_name_en` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`city_brief` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`city_brief_en` varchar(1500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`city_tags` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`city_spot_count` int(11) NULL DEFAULT NULL,
`city_food_count` int(11) NULL DEFAULT NULL,
`city_hotel_count` int(11) NULL DEFAULT NULL,
`city_note_count` int(11) NULL DEFAULT NULL,
`city_question_count` int(11) NULL DEFAULT NULL,
`city_weather_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`city_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for city_features
— —————————-
DROP TABLE IF EXISTS `city_features`;
CREATE TABLE `city_features` (
`Id` int(11) NOT NULL AUTO_INCREMENT,
`city_id` int(11) NULL DEFAULT NULL,
`feature_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`feature_desc` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`feature_link` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`feature_ref` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`feature_notes` int(11) NULL DEFAULT NULL,
`updatetime` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`Id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for city_hotelrest_rel
— —————————-
DROP TABLE IF EXISTS `city_hotelrest_rel`;
CREATE TABLE `city_hotelrest_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`city_id` int(11) NULL DEFAULT NULL,
`attraction_id` int(11) NULL DEFAULT NULL,
`hotelrest_id` int(11) NULL DEFAULT NULL,
`business_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `cityhotelrelindex`(`attraction_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for city_weather
— —————————-
DROP TABLE IF EXISTS `city_weather`;
CREATE TABLE `city_weather` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`city_id` int(10) NULL DEFAULT NULL,
`cityname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`weather_date` date NULL DEFAULT NULL,
`weather_desc` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`temperature` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`humidity` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`windspeed` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`winddir` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`airpressure` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`aqi` int(11) NULL DEFAULT NULL,
`updatetime` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for comic
— —————————-
DROP TABLE IF EXISTS `comic`;
CREATE TABLE `comic` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`work_vpuid` bigint(20) NULL DEFAULT NULL,
`img` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`urls` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`country` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`create_on` date NULL DEFAULT NULL,
`finish_on` date NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
`update_on` date NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for comic_stat
— —————————-
DROP TABLE IF EXISTS `comic_stat`;
CREATE TABLE `comic_stat` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cid` int(11) NULL DEFAULT NULL,
`save` int(11) NULL DEFAULT NULL,
`constant_visit` bigint(20) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`free_positive` int(11) NULL DEFAULT NULL,
`nagetive` int(11) NULL DEFAULT NULL,
`charge_positive` int(11) NULL DEFAULT NULL,
`accident_visit` bigint(20) NULL DEFAULT NULL,
`score` double NULL DEFAULT NULL,
`grade` int(11) NULL DEFAULT NULL,
`rank` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`recommend` int(11) NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for command
— —————————-
DROP TABLE IF EXISTS `command`;
CREATE TABLE `command` (
`cid` bigint(20) NOT NULL DEFAULT 0,
`commandType` tinyint(4) NULL DEFAULT NULL,
`commandStatus` tinyint(4) NULL DEFAULT 0,
`commandPriority` int(11) NULL DEFAULT 0,
`updateOn` datetime(0) NULL DEFAULT NULL,
`active` int(2) NULL DEFAULT 0,
`accountDomain` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`accountName` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`commandParameter` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`accountPasssword` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`createOn` datetime(0) NULL DEFAULT NULL,
`replyPageNum` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`timer` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`cid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for company
— —————————-
DROP TABLE IF EXISTS `company`;
CREATE TABLE `company` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`name_en` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`by_name` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`cbooolink` varchar(1024) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`mtimelink` varchar(1024) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`9k9klink` varchar(1024) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`mother_company_id` int(11) NULL DEFAULT NULL,
`country` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`imgurl` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`urls` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`description` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for company_star_rel
— —————————-
DROP TABLE IF EXISTS `company_star_rel`;
CREATE TABLE `company_star_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company_id` int(11) NULL DEFAULT NULL,
`star_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for company_video_rel
— —————————-
DROP TABLE IF EXISTS `company_video_rel`;
CREATE TABLE `company_video_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`company_id` int(11) NULL DEFAULT NULL,
`video_id` int(11) NULL DEFAULT NULL,
`type` tinyint(2) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for countries
— —————————-
DROP TABLE IF EXISTS `countries`;
CREATE TABLE `countries` (
`country_id` int(11) NOT NULL AUTO_INCREMENT,
`country_name_zh` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`country_name_en` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`country_state` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`country_brief` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`country_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for customer
— —————————-
DROP TABLE IF EXISTS `customer`;
CREATE TABLE `customer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nid` bigint(20) NULL DEFAULT NULL,
`url` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`keywords` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`rule_tags` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for dic
— —————————-
DROP TABLE IF EXISTS `dic`;
CREATE TABLE `dic` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`keyword` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`dic_type_id` int(11) NULL DEFAULT NULL,
`auto` tinyint(4) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for dic_type
— —————————-
DROP TABLE IF EXISTS `dic_type`;
CREATE TABLE `dic_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`level` int(11) NULL DEFAULT NULL,
`description` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`type` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for domain_limits
— —————————-
DROP TABLE IF EXISTS `domain_limits`;
CREATE TABLE `domain_limits` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`domain_name` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`follows_limit` int(11) NULL DEFAULT 0,
`post_limit` int(11) NULL DEFAULT 0,
`max_allocate` int(11) NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for education
— —————————-
DROP TABLE IF EXISTS `education`;
CREATE TABLE `education` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pubDate` datetime(0) NULL DEFAULT NULL,
`is211` int(11) NULL DEFAULT NULL,
`is985` int(11) NULL DEFAULT NULL,
`isDirectly` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for emotion
— —————————-
DROP TABLE IF EXISTS `emotion`;
CREATE TABLE `emotion` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`url` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pubdate` datetime(0) NULL DEFAULT NULL,
`score` float NULL DEFAULT NULL,
`author` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`imgurl` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`forward` int(11) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`socialRank` double NULL DEFAULT NULL,
`nid` bigint(20) NULL DEFAULT NULL,
`peid` bigint(20) NULL DEFAULT 0,
`updatetime` datetime(0) NULL DEFAULT ‘1970-01-01 00:00:00’,
`sourceurl` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`source` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`positive` int(11) NULL DEFAULT NULL,
`negative` int(11) NULL DEFAULT NULL,
`item_id` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `vpuid`(`vpuid`, `pubdate`) USING BTREE,
INDEX `emotion_url`(`url`(255)) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for emotion_topic
— —————————-
DROP TABLE IF EXISTS `emotion_topic`;
CREATE TABLE `emotion_topic` (
`pid` bigint(20) NOT NULL COMMENT ‘主题分析vpuid’,
`eid` int(11) UNSIGNED NOT NULL COMMENT ’emotion_id’,
`topic` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`pid`, `eid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;

— —————————-
— Table structure for emotion_words
— —————————-
DROP TABLE IF EXISTS `emotion_words`;
CREATE TABLE `emotion_words` (
`eid` int(11) NOT NULL,
`words` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`link` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`eid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for event
— —————————-
DROP TABLE IF EXISTS `event`;
CREATE TABLE `event` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type_id` int(11) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for event_item_rel
— —————————-
DROP TABLE IF EXISTS `event_item_rel`;
CREATE TABLE `event_item_rel` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`event_id` int(11) NULL DEFAULT NULL,
`item_id` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for event_type
— —————————-
DROP TABLE IF EXISTS `event_type`;
CREATE TABLE `event_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`item_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`keywords` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`vpuid` bigint(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for focus
— —————————-
DROP TABLE IF EXISTS `focus`;
CREATE TABLE `focus` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`count` int(11) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`last_update` datetime(0) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`info` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` int(11) NULL DEFAULT NULL,
`nid` bigint(20) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`forwardurl` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`offset` int(11) NULL DEFAULT NULL,
`imgurl` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`lob` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sale_type` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`rule_tags` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`score` double NULL DEFAULT NULL,
`contact` int(11) NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE,
INDEX `name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for game
— —————————-
DROP TABLE IF EXISTS `game`;
CREATE TABLE `game` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`releasetime` date NULL DEFAULT NULL,
`screen` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`style` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`theme` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`player_num` int(11) NULL DEFAULT NULL,
`role_num` int(11) NULL DEFAULT NULL,
`storage` int(11) NULL DEFAULT NULL,
`description` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`urls` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for host_domain_map
— —————————-
DROP TABLE IF EXISTS `host_domain_map`;
CREATE TABLE `host_domain_map` (
`id` int(11) NULL DEFAULT NULL,
`host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`domain` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for hotelrest_comments
— —————————-
DROP TABLE IF EXISTS `hotelrest_comments`;
CREATE TABLE `hotelrest_comments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`business_id` int(11) NOT NULL,
`hotelrest_id` int(11) NOT NULL,
`hotelrest_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`review_id` int(11) NULL DEFAULT NULL,
`user_nickname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`created_time` datetime(0) NULL DEFAULT NULL,
`text_excerpt` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`review_rating` float(3, 1) NULL DEFAULT NULL,
`rating_img_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`rating_s_img_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`product_rating` int(2) NULL DEFAULT NULL,
`decoration_rating` int(2) NULL DEFAULT NULL,
`service_rating` int(2) NULL DEFAULT NULL,
`review_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for hotelrest_deals
— —————————-
DROP TABLE IF EXISTS `hotelrest_deals`;
CREATE TABLE `hotelrest_deals` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`business_id` int(11) NOT NULL,
`hotelrest_id` int(11) NOT NULL,
`type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`deal_id` int(11) NULL DEFAULT NULL,
`description` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
`state` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for hotels
— —————————-
DROP TABLE IF EXISTS `hotels`;
CREATE TABLE `hotels` (
`hotel_id` int(11) NOT NULL AUTO_INCREMENT,
`hotel_name_zh` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_name_en` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_source` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_brief` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_longtitude` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_latitude` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_avg_price` int(11) NULL DEFAULT NULL,
`hotel_mentions` int(11) NULL DEFAULT NULL,
`attraction_id` int(11) NULL DEFAULT NULL,
`city_id` int(11) NULL DEFAULT NULL,
`business_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`business_id` int(11) NULL DEFAULT NULL,
`hotel_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_telephone` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_photo_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_avg_rating` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_product_score` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_service_score` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`hotel_categories` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`reviews_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`hotel_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for insert_ali
— —————————-
DROP TABLE IF EXISTS `insert_ali`;
CREATE TABLE `insert_ali` (
`col1` int(11) NOT NULL,
`col2` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`col3` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`col1`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for ip
— —————————-
DROP TABLE IF EXISTS `ip`;
CREATE TABLE `ip` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` int(11) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`create_on` date NULL DEFAULT NULL,
`update_on` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for netizen
— —————————-
DROP TABLE IF EXISTS `netizen`;
CREATE TABLE `netizen` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`colDate` datetime(0) NULL DEFAULT NULL,
`feedId` bigint(20) NULL DEFAULT NULL,
`flag` int(11) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`netizen_domain_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`netizen_domain` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`personId` bigint(20) NULL DEFAULT NULL,
`type` smallint(6) NULL DEFAULT NULL,
`uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT ‘1970-01-01 00:00:01’,
PRIMARY KEY (`id`) USING BTREE,
INDEX `uri`(`uri`) USING BTREE,
INDEX `vpuid`(`vpuid`, `colDate`) USING BTREE,
INDEX `colDate`(`colDate`) USING BTREE,
INDEX `netizen_domain_id`(`netizen_domain_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for netizen_category
— —————————-
DROP TABLE IF EXISTS `netizen_category`;
CREATE TABLE `netizen_category` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`nid` bigint(20) NULL DEFAULT NULL,
`label` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` tinyint(4) NULL DEFAULT NULL,
`count` int(11) NULL DEFAULT NULL,
`total` int(11) NULL DEFAULT NULL,
`tf_idf` double NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `key`(`nid`, `label`) USING BTREE,
INDEX `count_label`(`count`, `label`) USING BTREE,
INDEX `nid`(`nid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic PARTITION BY RANGE (id)
PARTITIONS 16
(PARTITION `p0` VALUES LESS THAN (2000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p1` VALUES LESS THAN (4000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p2` VALUES LESS THAN (6000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p3` VALUES LESS THAN (8000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p4` VALUES LESS THAN (10000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p5` VALUES LESS THAN (12000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p6` VALUES LESS THAN (14000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p7` VALUES LESS THAN (16000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p8` VALUES LESS THAN (18000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p9` VALUES LESS THAN (20000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p10` VALUES LESS THAN (22000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p11` VALUES LESS THAN (24000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p12` VALUES LESS THAN (26000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p13` VALUES LESS THAN (28000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p14` VALUES LESS THAN (30000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p15` VALUES LESS THAN (MAXVALUE) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 )
;

— —————————-
— Table structure for netizen_idf
— —————————-
DROP TABLE IF EXISTS `netizen_idf`;
CREATE TABLE `netizen_idf` (
`ID` bigint(20) NOT NULL AUTO_INCREMENT,
`WORD` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`netizen_count` int(11) NULL DEFAULT NULL,
`mention_count` int(11) NULL DEFAULT NULL,
`IDF` double NULL DEFAULT NULL,
`UPDATETIME` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`ID`) USING BTREE,
INDEX `word_index`(`WORD`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for netizen_interaction_info
— —————————-
DROP TABLE IF EXISTS `netizen_interaction_info`;
CREATE TABLE `netizen_interaction_info` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`begin_time` datetime(0) NULL DEFAULT NULL,
`interaction` int(11) NULL DEFAULT NULL,
`last_time` datetime(0) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for netizen_most_uri
— —————————-
DROP TABLE IF EXISTS `netizen_most_uri`;
CREATE TABLE `netizen_most_uri` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`belongs` bigint(20) NULL DEFAULT NULL,
`forward` int(11) NULL DEFAULT NULL,
`industry` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`lastTime` datetime(0) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for netizen_property
— —————————-
DROP TABLE IF EXISTS `netizen_property`;
CREATE TABLE `netizen_property` (
`nid` bigint(20) NOT NULL,
`uid` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`tags` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`birthday` date NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`extend` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`blog` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sexualorientation` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`matrimony` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`nid`) USING BTREE,
INDEX `birthday`(`birthday`, `address`) USING BTREE,
INDEX `address`(`address`) USING BTREE,
INDEX `uid`(`uid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for netizen_status
— —————————-
DROP TABLE IF EXISTS `netizen_status`;
CREATE TABLE `netizen_status` (
`nid` bigint(20) NOT NULL,
`follows` int(11) NULL DEFAULT NULL,
`posts_count` int(11) NULL DEFAULT NULL,
`keywords` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`rule_tags` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`fans` int(11) NULL DEFAULT NULL,
`income` int(11) NULL DEFAULT NULL,
`degree_code` int(11) NULL DEFAULT 0 COMMENT ‘学位学历’,
`reply_rate` double NULL DEFAULT NULL,
PRIMARY KEY (`nid`) USING BTREE,
INDEX `fans`(`fans`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for netizen_words
— —————————-
DROP TABLE IF EXISTS `netizen_words`;
CREATE TABLE `netizen_words` (
`nid` bigint(20) NOT NULL,
`location` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`nonce` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`web` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`quantity` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`nid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for netizenvperlink
— —————————-
DROP TABLE IF EXISTS `netizenvperlink`;
CREATE TABLE `netizenvperlink` (
`id` bigint(20) NOT NULL,
`netizen_id` bigint(20) NULL DEFAULT NULL,
`touchingrule` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for owner
— —————————-
DROP TABLE IF EXISTS `owner`;
CREATE TABLE `owner` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`info` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for owner_author_rel
— —————————-
DROP TABLE IF EXISTS `owner_author_rel`;
CREATE TABLE `owner_author_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`owner_id` int(11) NULL DEFAULT NULL,
`author_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for owner_company_rel
— —————————-
DROP TABLE IF EXISTS `owner_company_rel`;
CREATE TABLE `owner_company_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`owner_id` int(11) NULL DEFAULT NULL,
`company_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for pattern
— —————————-
DROP TABLE IF EXISTS `pattern`;
CREATE TABLE `pattern` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pattern_interval` int(11) NULL DEFAULT NULL,
`pattern_index` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pattern_host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` int(11) NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`info` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`available` int(5) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for pattern_type_rel
— —————————-
DROP TABLE IF EXISTS `pattern_type_rel`;
CREATE TABLE `pattern_type_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pattern_id` int(11) NULL DEFAULT NULL,
`type_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for person
— —————————-
DROP TABLE IF EXISTS `person`;
CREATE TABLE `person` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name_en` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`byname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`description` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`country` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`nation` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`birthday` date NULL DEFAULT NULL,
`gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`homeplace` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`weibo_vpuid` int(11) NULL DEFAULT NULL,
`honor` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`works` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`height` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`weight` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`school` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sign` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`star` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`blood` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`career` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`career_start` date NULL DEFAULT NULL,
`career_end` date NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for pictures
— —————————-
DROP TABLE IF EXISTS `pictures`;
CREATE TABLE `pictures` (
`nid` bigint(20) NOT NULL,
`img` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`nid`) USING BTREE
) ENGINE = MyISAM CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for poster
— —————————-
DROP TABLE IF EXISTS `poster`;
CREATE TABLE `poster` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`length` int(11) NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`nid` bigint(20) NULL DEFAULT NULL,
`pubdate` datetime(0) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`width` int(11) NULL DEFAULT NULL,
`size` int(11) NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`positive` int(11) NULL DEFAULT NULL,
`forward` int(11) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
`item_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for poster_emotion_rel
— —————————-
DROP TABLE IF EXISTS `poster_emotion_rel`;
CREATE TABLE `poster_emotion_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`poster_id` bigint(20) NULL DEFAULT NULL,
`emotion_id` bigint(20) NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for product
— —————————-
DROP TABLE IF EXISTS `product`;
CREATE TABLE `product` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`identifier` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`link` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`title` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`description` varchar(2048) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pubdate` datetime(0) NULL DEFAULT NULL,
`price` float NULL DEFAULT NULL,
`sales` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`reply` bigint(20) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`ref` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`likenum` bigint(20) NULL DEFAULT NULL,
`forward` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`author_name` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
`author_uid` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`author_uri` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;

— —————————-
— Table structure for progress_tracer
— —————————-
DROP TABLE IF EXISTS `progress_tracer`;
CREATE TABLE `progress_tracer` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`time` datetime(0) NULL DEFAULT NULL,
`mention` int(11) NULL DEFAULT NULL,
`fans` int(11) NULL DEFAULT NULL,
`posts` int(11) NULL DEFAULT NULL,
`type` int(11) NULL DEFAULT NULL,
`starttime` date NULL DEFAULT NULL,
`endtime` date NULL DEFAULT NULL,
`keyword` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`source` int(11) NULL DEFAULT NULL,
`video_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `vpuidtime`(`vpuid`, `time`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for publish_schedule
— —————————-
DROP TABLE IF EXISTS `publish_schedule`;
CREATE TABLE `publish_schedule` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`content` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pic` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pub_time` datetime(0) NULL DEFAULT NULL,
`estimate_pub_time` datetime(0) NULL DEFAULT NULL,
`forward_url` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`price` double NULL DEFAULT NULL,
`estimate_price` double NULL DEFAULT NULL,
`speed` float NULL DEFAULT NULL,
`exporsure` int(11) NULL DEFAULT NULL,
`publisher_id` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`fid` int(11) NULL DEFAULT NULL,
`status` int(11) NULL DEFAULT 0,
`msg_url` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`access_token` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for rank
— —————————-
DROP TABLE IF EXISTS `rank`;
CREATE TABLE `rank` (
`id` int(11) NULL DEFAULT NULL,
`rank_type_id` int(11) NULL DEFAULT NULL,
`rank` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for rank_type
— —————————-
DROP TABLE IF EXISTS `rank_type`;
CREATE TABLE `rank_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`domain` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`keyword` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for resource
— —————————-
DROP TABLE IF EXISTS `resource`;
CREATE TABLE `resource` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`href_title` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`href` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`format` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`edition` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`r_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`source` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`language` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`quality` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`r_size` int(11) NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
`link` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` int(11) NULL DEFAULT NULL,
`nid` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for restaurants
— —————————-
DROP TABLE IF EXISTS `restaurants`;
CREATE TABLE `restaurants` (
`restaurant_id` int(11) NOT NULL AUTO_INCREMENT,
`restaurant_name_zh` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurant_name_en` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurant_source` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurant_brief` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurant_longtitude` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurant_latitude` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurant_avg_price` int(11) NULL DEFAULT NULL,
`restaurant_mentions` int(11) NULL DEFAULT NULL,
`attraction_id` int(11) NULL DEFAULT NULL,
`city_id` int(11) NULL DEFAULT NULL,
`business_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`business_id` int(11) NULL DEFAULT NULL,
`restaurants_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurants_telephone` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurants_photo_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurants_avg_rating` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurants_product_score` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurants_service_score` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`restaurants_categories` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`open_time` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`popular_dishes` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`specialties` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`reviews_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`restaurant_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for right
— —————————-
DROP TABLE IF EXISTS `right`;
CREATE TABLE `right` (
`transaction_id` int(11) NULL DEFAULT NULL,
`starttime` date NULL DEFAULT NULL,
`endtime` date NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`indo` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for robot_status
— —————————-
DROP TABLE IF EXISTS `robot_status`;
CREATE TABLE `robot_status` (
`sid` int(11) NOT NULL AUTO_INCREMENT,
`robot_ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`account_domain` varchar(250) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`robotAvailablePost` int(11) NULL DEFAULT NULL,
`robot_id` varchar(125) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`last_report_time` datetime(0) NULL DEFAULT NULL,
`uid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`access_token` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`weireUid` int(11) NULL DEFAULT NULL,
`usr` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`pwd` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`validity` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`sid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for rss_content
— —————————-
DROP TABLE IF EXISTS `rss_content`;
CREATE TABLE `rss_content` (
`nid` bigint(20) NOT NULL,
`content` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`uri` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`nid`) USING BTREE,
FULLTEXT INDEX `uri_index`(`uri`)
) ENGINE = MyISAM CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for rss_content_118
— —————————-
DROP TABLE IF EXISTS `rss_content_118`;
CREATE TABLE `rss_content_118` (
`id` bigint(20) NOT NULL,
`nid` bigint(20) NOT NULL,
`marknum` bigint(20) NULL DEFAULT NULL,
`homepage` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`content` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`url` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`forward` int(11) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`title` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`seealso` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`imgurl` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`positive` int(11) NULL DEFAULT NULL,
`pubdatetime` datetime(0) NULL DEFAULT ‘1970-01-01 00:00:00’,
`updatetime` datetime(0) NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic PARTITION BY RANGE (nid)
PARTITIONS 20
(PARTITION `p0` VALUES LESS THAN (1000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p1` VALUES LESS THAN (2000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p2` VALUES LESS THAN (3000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p3` VALUES LESS THAN (4000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p4` VALUES LESS THAN (5000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p5` VALUES LESS THAN (6000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p6` VALUES LESS THAN (7000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p7` VALUES LESS THAN (8000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p8` VALUES LESS THAN (9000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p9` VALUES LESS THAN (10000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p10` VALUES LESS THAN (11000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p11` VALUES LESS THAN (12000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p12` VALUES LESS THAN (13000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p13` VALUES LESS THAN (14000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p14` VALUES LESS THAN (15000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p15` VALUES LESS THAN (16000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p16` VALUES LESS THAN (17000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p17` VALUES LESS THAN (18000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p18` VALUES LESS THAN (19000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p19` VALUES LESS THAN (20000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 )
;

— —————————-
— Table structure for rss_content_temp
— —————————-
DROP TABLE IF EXISTS `rss_content_temp`;
CREATE TABLE `rss_content_temp` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`nid` bigint(20) NOT NULL,
`marknum` bigint(20) NULL DEFAULT NULL,
`homepage` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`content` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`url` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`forward` int(11) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`title` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`seealso` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`imgurl` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`positive` int(11) NULL DEFAULT NULL,
`pubdatetime` datetime(0) NULL DEFAULT ‘1970-01-01 00:00:00’,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`, `nid`) USING BTREE,
INDEX `rss_url`(`url`(255)) USING BTREE,
INDEX `IDX_rss_temp_nid`(`nid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic PARTITION BY RANGE (nid)
PARTITIONS 20
(PARTITION `p0` VALUES LESS THAN (1000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p1` VALUES LESS THAN (2000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p2` VALUES LESS THAN (3000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p3` VALUES LESS THAN (4000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p4` VALUES LESS THAN (5000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p5` VALUES LESS THAN (6000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p6` VALUES LESS THAN (7000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p7` VALUES LESS THAN (8000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p8` VALUES LESS THAN (9000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p9` VALUES LESS THAN (10000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p10` VALUES LESS THAN (11000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p11` VALUES LESS THAN (12000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p12` VALUES LESS THAN (13000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p13` VALUES LESS THAN (14000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p14` VALUES LESS THAN (15000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p15` VALUES LESS THAN (16000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p16` VALUES LESS THAN (17000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p17` VALUES LESS THAN (18000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p18` VALUES LESS THAN (19000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 ,
PARTITION `p19` VALUES LESS THAN (20000000) ENGINE = InnoDB MAX_ROWS = 0 MIN_ROWS = 0 )
;

— —————————-
— Table structure for rule_tag
— —————————-
DROP TABLE IF EXISTS `rule_tag`;
CREATE TABLE `rule_tag` (
`rid` int(11) NOT NULL AUTO_INCREMENT,
`record` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`count` int(11) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`tag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`rid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for search_rank
— —————————-
DROP TABLE IF EXISTS `search_rank`;
CREATE TABLE `search_rank` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` int(11) NULL DEFAULT NULL,
`rank` int(11) NULL DEFAULT NULL,
`rank_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`introduce_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`tieba_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`video_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`search_index` bigint(20) NULL DEFAULT NULL,
`search_heat` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`domain` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for similar_video
— —————————-
DROP TABLE IF EXISTS `similar_video`;
CREATE TABLE `similar_video` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`sid` int(11) NULL DEFAULT NULL,
`tid` int(11) NULL DEFAULT NULL,
`score` double NULL DEFAULT NULL,
`reason` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatedate` timestamp(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for simplegraph
— —————————-
DROP TABLE IF EXISTS `simplegraph`;
CREATE TABLE `simplegraph` (
`vpuid` bigint(20) NOT NULL,
`graph` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`root` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`vpuid`) USING BTREE
) ENGINE = MyISAM CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for site
— —————————-
DROP TABLE IF EXISTS `site`;
CREATE TABLE `site` (
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`site_host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`updatetime` date NULL DEFAULT NULL,
`touchingrule` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`available` int(11) UNSIGNED ZEROFILL NULL DEFAULT NULL,
PRIMARY KEY (`site_host`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for sites
— —————————-
DROP TABLE IF EXISTS `sites`;
CREATE TABLE `sites` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`url` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`classify` smallint(6) NULL DEFAULT 0,
`siteName` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for snsuserinfo
— —————————-
DROP TABLE IF EXISTS `snsuserinfo`;
CREATE TABLE `snsuserinfo` (
`vid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
`ownuri` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`uri` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`flag` tinyint(3) UNSIGNED NOT NULL COMMENT ‘0-att 1-fan 2-both’,
`operflag` tinyint(3) UNSIGNED NOT NULL DEFAULT 0 COMMENT ‘1-rm’,
`fansc` int(10) UNSIGNED NOT NULL DEFAULT 0,
`freq` float NULL DEFAULT 0,
`judflag` tinyint(3) UNSIGNED NOT NULL DEFAULT 0,
`vfansc` int(10) UNSIGNED NOT NULL DEFAULT 0,
`vpid` int(10) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`vid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for star
— —————————-
DROP TABLE IF EXISTS `star`;
CREATE TABLE `star` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` int(11) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name_en` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`birthday` datetime(0) NULL DEFAULT NULL,
`gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`homeplace` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`socialmedia` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`douban_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`weibo_vpuid` int(11) NULL DEFAULT NULL,
`qq_vpuid` int(11) NULL DEFAULT NULL,
`imdbnum` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`imgurl` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`description` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`level` int(11) NULL DEFAULT NULL,
`url` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`tags` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`mtime_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`cbooo_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`career` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`urls` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for star_id_score
— —————————-
DROP TABLE IF EXISTS `star_id_score`;
CREATE TABLE `star_id_score` (
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`star_id` int(11) NULL DEFAULT NULL,
`score` double NULL DEFAULT NULL,
`star_index` double NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`score_enhance` double NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for state_city
— —————————-
DROP TABLE IF EXISTS `state_city`;
CREATE TABLE `state_city` (
`Id` int(11) NOT NULL,
`state` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`city` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`sz_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`Rome` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`zm_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`Id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for suggestion
— —————————-
DROP TABLE IF EXISTS `suggestion`;
CREATE TABLE `suggestion` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`keyword` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`picurl` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`position` int(11) NULL DEFAULT NULL,
`price` double NULL DEFAULT 0,
`status` smallint(6) NULL DEFAULT 0,
`adsize` int(11) NULL DEFAULT 0,
`adtype` smallint(6) NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 617 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for tabled
— —————————-
DROP TABLE IF EXISTS `tabled`;
CREATE TABLE `tabled` (
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Fixed;

— —————————-
— Table structure for tablee
— —————————-
DROP TABLE IF EXISTS `tablee`;
CREATE TABLE `tablee` (
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Fixed;

— —————————-
— Table structure for telecom_credit
— —————————-
DROP TABLE IF EXISTS `telecom_credit`;
CREATE TABLE `telecom_credit` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_number` int(11) NULL DEFAULT NULL,
`average_consumption` double NULL DEFAULT NULL,
`average_stoptimes` double NULL DEFAULT NULL,
`pay_type` int(11) NULL DEFAULT NULL,
`in_nettime` double NULL DEFAULT NULL,
`package_price` double NULL DEFAULT NULL,
`pay_state` double NULL DEFAULT NULL,
`credit_evaluation` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`phonenum` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for telecom_user
— —————————-
DROP TABLE IF EXISTS `telecom_user`;
CREATE TABLE `telecom_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_number` int(11) NULL DEFAULT NULL,
`pay_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`in_nettime` double NULL DEFAULT NULL,
`stop_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`historical_bill` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`package_name` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`net_intime` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`phonenum_place` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`agegroup` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`birthday` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`phonenum` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for test
— —————————-
DROP TABLE IF EXISTS `test`;
CREATE TABLE `test` (
`id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Fixed;

— —————————-
— Table structure for tnetizen
— —————————-
DROP TABLE IF EXISTS `tnetizen`;
CREATE TABLE `tnetizen` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`netizen_id` bigint(20) NULL DEFAULT NULL,
`pscan` int(11) NULL DEFAULT NULL,
`contact_num` int(11) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`last_contact_time` datetime(0) NULL DEFAULT NULL,
`status` smallint(6) NULL DEFAULT NULL,
`last_time` datetime(0) NULL DEFAULT NULL,
`score` float NULL DEFAULT NULL,
`uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `vpuid`(`vpuid`, `status`) USING BTREE,
INDEX `vpuid_nid`(`vpuid`, `netizen_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for traffic_route
— —————————-
DROP TABLE IF EXISTS `traffic_route`;
CREATE TABLE `traffic_route` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cityid` int(11) NULL DEFAULT NULL,
`cityname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`airportid` int(11) NULL DEFAULT NULL,
`airportname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`attractionid` int(11) NULL DEFAULT NULL,
`attractionname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`plannum` int(3) NULL DEFAULT NULL,
`mode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`distance` int(11) NULL DEFAULT NULL,
`duration` int(11) NULL DEFAULT NULL,
`price` decimal(10, 0) NULL DEFAULT NULL,
`instruction` varchar(5000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for trailer
— —————————-
DROP TABLE IF EXISTS `trailer`;
CREATE TABLE `trailer` (
`id` bigint(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`positive` int(11) NULL DEFAULT NULL,
`negative` int(11) NULL DEFAULT NULL,
`viewed` int(255) NULL DEFAULT NULL,
`source` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`nid` bigint(255) NULL DEFAULT NULL,
`pubdate` datetime(0) NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT NULL,
`reply` int(11) NULL DEFAULT NULL,
`runtime` int(11) NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
`item_id` bigint(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for trailer_emotion_rel
— —————————-
DROP TABLE IF EXISTS `trailer_emotion_rel`;
CREATE TABLE `trailer_emotion_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`trailer_id` bigint(20) NULL DEFAULT NULL,
`emotion_id` bigint(20) NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for transaction
— —————————-
DROP TABLE IF EXISTS `transaction`;
CREATE TABLE `transaction` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`from_owner_id` int(11) NULL DEFAULT NULL,
`to_owner_id` int(11) NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`fee` int(11) NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for travel_steps
— —————————-
DROP TABLE IF EXISTS `travel_steps`;
CREATE TABLE `travel_steps` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cityid` int(11) NULL DEFAULT NULL,
`days` int(11) NULL DEFAULT NULL,
`day_word` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`step` int(11) NULL DEFAULT NULL,
`stepname` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`way2last` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`lastingtime` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`fee` varchar(600) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`comment` varchar(1200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`step_desc` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for type
— —————————-
DROP TABLE IF EXISTS `type`;
CREATE TABLE `type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`create_on` date NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for type_dic_rel
— —————————-
DROP TABLE IF EXISTS `type_dic_rel`;
CREATE TABLE `type_dic_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type_id` int(11) NULL DEFAULT NULL,
`dic_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for type_popularity
— —————————-
DROP TABLE IF EXISTS `type_popularity`;
CREATE TABLE `type_popularity` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type_id` int(11) NULL DEFAULT NULL,
`popularity` double NULL DEFAULT NULL,
`starttime` date NULL DEFAULT NULL,
`endtime` date NULL DEFAULT NULL,
`updatetime` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for type_rel
— —————————-
DROP TABLE IF EXISTS `type_rel`;
CREATE TABLE `type_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NULL DEFAULT NULL,
`child_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for url_domain_map
— —————————-
DROP TABLE IF EXISTS `url_domain_map`;
CREATE TABLE `url_domain_map` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`url` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`host` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
`domain` varchar(255) CHARACTER SET gbk COLLATE gbk_chinese_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = gbk COLLATE = gbk_chinese_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for user_group
— —————————-
DROP TABLE IF EXISTS `user_group`;
CREATE TABLE `user_group` (
`groupname` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`uid` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`groupname`) USING BTREE,
INDEX `userid`(`uid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for userinfo
— —————————-
DROP TABLE IF EXISTS `userinfo`;
CREATE TABLE `userinfo` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`userName` varchar(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
`password` varchar(45) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
`phone` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`active` smallint(6) NULL DEFAULT NULL,
`email` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`vpuid` bigint(20) NULL DEFAULT 0,
`role` int(11) NULL DEFAULT 0,
`sinaUid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`tencentUid` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`uid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for userip
— —————————-
DROP TABLE IF EXISTS `userip`;
CREATE TABLE `userip` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`ip` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for video
— —————————-
DROP TABLE IF EXISTS `video`;
CREATE TABLE `video` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name_en` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`country` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`imdblink` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`doubanlink` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`youkulink` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`runtime` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`releasetime` datetime(0) NULL DEFAULT NULL,
`boxoffice` int(11) NULL DEFAULT NULL,
`score` float NULL DEFAULT NULL,
`byname` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`viewed` int(11) NULL DEFAULT NULL,
`predicte_boxoffic` int(11) NULL DEFAULT NULL,
`offlinetime` datetime(0) NULL DEFAULT NULL,
`imgurl` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`introduction` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`video_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT ‘movie’,
`realboxoffice` int(11) NULL DEFAULT NULL,
`predicte_view` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`releasetime_PRC` datetime(0) NULL DEFAULT NULL,
`releasetime_HK` datetime(0) NULL DEFAULT NULL,
`premiere` datetime(0) NULL DEFAULT NULL,
`premiere_country` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`boxoffice_PRC` int(11) NULL DEFAULT NULL,
`boxoffice_NA` int(11) NULL DEFAULT NULL,
`boxoffice_HK` int(11) NULL DEFAULT NULL,
`maoyanLink` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`screen` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`boxoffice_demand` int(11) NULL DEFAULT NULL,
`price_avg` double NULL DEFAULT NULL,
`mtimelink` varchar(225) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`urls` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for video_extends
— —————————-
DROP TABLE IF EXISTS `video_extends`;
CREATE TABLE `video_extends` (
`vid` int(11) NOT NULL,
`detail` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`trailers` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`big_imgs` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`vid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for video_index
— —————————-
DROP TABLE IF EXISTS `video_index`;
CREATE TABLE `video_index` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`date` datetime(0) NULL DEFAULT NULL,
`number` int(11) NULL DEFAULT NULL,
`star_id` int(11) NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`video_id` int(11) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for video_staff_score
— —————————-
DROP TABLE IF EXISTS `video_staff_score`;
CREATE TABLE `video_staff_score` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`video_id` int(11) NULL DEFAULT NULL,
`sum_score` double NULL DEFAULT NULL,
`avg_score` double NULL DEFAULT NULL,
`pubdate` date NULL DEFAULT NULL,
`staff_score` double NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for video_star_rel
— —————————-
DROP TABLE IF EXISTS `video_star_rel`;
CREATE TABLE `video_star_rel` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`movie_id` int(11) NULL DEFAULT NULL,
`star_id` int(11) NULL DEFAULT NULL,
`predicate` tinyint(3) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
INDEX `star_video`(`movie_id`, `star_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for video_trailer
— —————————-
DROP TABLE IF EXISTS `video_trailer`;
CREATE TABLE `video_trailer` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`mid` bigint(20) NULL DEFAULT NULL,
`url` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`title` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`statics` mediumtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`thumbnail` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for vpaccount
— —————————-
DROP TABLE IF EXISTS `vpaccount`;
CREATE TABLE `vpaccount` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`vpuid` bigint(20) NULL DEFAULT 1,
`usr` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`pwd` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`uri` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`netizen_id` int(11) NULL DEFAULT NULL,
`account_domain` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`command` int(11) NULL DEFAULT 0,
`destip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT ‘0.0.0.0’,
PRIMARY KEY (`uid`) USING BTREE,
INDEX `vpuid`(`uid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for vpaccount_status
— —————————-
DROP TABLE IF EXISTS `vpaccount_status`;
CREATE TABLE `vpaccount_status` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`vpaccountid` int(10) UNSIGNED NOT NULL,
`vpaccounturi` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`followings` int(10) UNSIGNED NOT NULL,
`fans` int(10) UNSIGNED NULL DEFAULT NULL,
`posts` int(10) UNSIGNED NULL DEFAULT NULL,
`replies` int(10) UNSIGNED NULL DEFAULT NULL,
`transmits` int(10) UNSIGNED NULL DEFAULT NULL,
`updatedate` datetime(0) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for vperson
— —————————-
DROP TABLE IF EXISTS `vperson`;
CREATE TABLE `vperson` (
`vpuid` bigint(20) NOT NULL AUTO_INCREMENT,
`vpname` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`vpkeywords` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`nid` bigint(20) NULL DEFAULT NULL,
`scanid` bigint(20) NULL DEFAULT NULL,
`profile` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`touchingrule` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`keywords` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
`type` smallint(6) NULL DEFAULT 0,
`parentid` bigint(20) NULL DEFAULT NULL,
PRIMARY KEY (`vpuid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for vpersongroup
— —————————-
DROP TABLE IF EXISTS `vpersongroup`;
CREATE TABLE `vpersongroup` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`vpuid` bigint(20) NOT NULL,
`active` smallint(6) NULL DEFAULT NULL,
`email` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`startTime` datetime(0) NULL DEFAULT NULL,
`endTime` datetime(0) NULL DEFAULT NULL,
`frequency` smallint(6) NULL DEFAULT NULL,
`swsPay` int(11) NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for vpkeywords
— —————————-
DROP TABLE IF EXISTS `vpkeywords`;
CREATE TABLE `vpkeywords` (
`vpuid` bigint(20) NOT NULL,
`vpkeywords` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
PRIMARY KEY (`vpuid`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;

— —————————-
— Table structure for weathermonitor
— —————————-
DROP TABLE IF EXISTS `weathermonitor`;
CREATE TABLE `weathermonitor` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`city_id` int(11) NULL DEFAULT NULL,
`city_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`monitor_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`monitor_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`region` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`province` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

— —————————-
— Table structure for account_supplier
— —————————-
DROP TABLE IF EXISTS `account_supplier`;
CREATE TABLE `account_supplier` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`platforms` json NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for actual_execution_plan
— —————————-
DROP TABLE IF EXISTS `actual_execution_plan`;
CREATE TABLE `actual_execution_plan` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`project_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`project_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`state` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`execution_task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`expected_start_time` datetime(0) NULL DEFAULT NULL,
`expected_end_time` datetime(0) NULL DEFAULT NULL,
`configs` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`stats` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`cp` double(12, 2) NULL DEFAULT NULL,
`sp` double(12, 2) NULL DEFAULT NULL,
`rtc` int(11) NULL DEFAULT NULL COMMENT ‘资源总数’,
`creation_time` datetime(6) NULL DEFAULT NULL,
`creator_principal_id` int(11) NULL DEFAULT NULL,
`creator_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_principal_id` int(11) NULL DEFAULT NULL,
`supplier_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ‘服务商主体id’,
`customer_principal_id` int(11) NULL DEFAULT NULL COMMENT ‘客户创建者账号id’,
`customer_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ‘客户主体id’,
`supplier_subject_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ‘服务商主体名’,
`customer_principal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ‘客户创建者账号名’,
`customer_subject_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ‘客户主体名’,
`creator_principal_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ‘创建者账号名’,
`creator_subject_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT ‘创建者主体名’,
`update_time` datetime(6) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for actual_execution_plan_cache
— —————————-
DROP TABLE IF EXISTS `actual_execution_plan_cache`;
CREATE TABLE `actual_execution_plan_cache` (
`user_id` int(11) NOT NULL,
`cache` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for app_customer
— —————————-
DROP TABLE IF EXISTS `app_customer`;
CREATE TABLE `app_customer` (
`subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`creation_time` datetime(6) NULL DEFAULT NULL,
`update_time` datetime(6) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(6),
PRIMARY KEY (`subject_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for estimate_execution_plan
— —————————-
DROP TABLE IF EXISTS `estimate_execution_plan`;
CREATE TABLE `estimate_execution_plan` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`project_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`planning_task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`configs` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`stats` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`cp` double(12, 2) NULL DEFAULT NULL,
`sp` double(12, 2) NULL DEFAULT NULL,
`rtc` int(11) NULL DEFAULT NULL COMMENT ‘资源总数’,
`expected_start_time` datetime(0) NULL DEFAULT NULL,
`expected_end_time` datetime(0) NULL DEFAULT NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`creator_principal_id` int(11) NULL DEFAULT NULL,
`creator_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_principal_id` int(11) NULL DEFAULT NULL,
`supplier_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_principal_id` int(11) NULL DEFAULT NULL,
`customer_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for estimate_execution_plan_cache
— —————————-
DROP TABLE IF EXISTS `estimate_execution_plan_cache`;
CREATE TABLE `estimate_execution_plan_cache` (
`user_id` int(11) NOT NULL,
`cache` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for execution_task
— —————————-
DROP TABLE IF EXISTS `execution_task`;
CREATE TABLE `execution_task` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`estimated_execution_plan_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_project_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_project_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_actual_execution_plan_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_project_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_project_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_actual_execution_plan_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`plan_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`state` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`timestamps` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`creator_principal_id` int(11) NULL DEFAULT NULL,
`creator_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_principal_id` int(11) NULL DEFAULT NULL,
`supplier_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_principal_id` int(11) NULL DEFAULT NULL,
`customer_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
`creator_subject_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_subject_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for media_supplier
— —————————-
DROP TABLE IF EXISTS `media_supplier`;
CREATE TABLE `media_supplier` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`platforms` json NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for plan_diff
— —————————-
DROP TABLE IF EXISTS `plan_diff`;
CREATE TABLE `plan_diff` (
`plan_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`merge` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`diff` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`creation_time` datetime(6) NULL DEFAULT NULL,
`update_time` datetime(6) NULL DEFAULT NULL,
PRIMARY KEY (`plan_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for project
— —————————-
DROP TABLE IF EXISTS `project`;
CREATE TABLE `project` (
`id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`state` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`start_date` date NULL DEFAULT NULL,
`end_date` date NULL DEFAULT NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`creator_principal_id` int(11) NULL DEFAULT NULL,
`creator_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_principal_id` int(11) NULL DEFAULT NULL,
`supplier_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_principal_id` int(11) NULL DEFAULT NULL,
`customer_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_subject_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_subject_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for publishing_task
— —————————-
DROP TABLE IF EXISTS `publishing_task`;
CREATE TABLE `publishing_task` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`execution_task_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`unique_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`media` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`account_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`cost_price` double(50, 3) NULL DEFAULT NULL,
`extra_cost_prices` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`publishing_time` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
`expected_start_time` datetime(0) NULL DEFAULT NULL,
`expected_end_time` datetime(0) NULL DEFAULT NULL,
`link_uri` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`state` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`timestamps` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`creator_principal_id` int(11) NULL DEFAULT NULL,
`creator_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_principal_id` int(11) NULL DEFAULT NULL,
`supplier_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_principal_id` int(11) NULL DEFAULT NULL,
`customer_subject_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for resource
— —————————-
DROP TABLE IF EXISTS `resource`;
CREATE TABLE `resource` (
`account_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`media` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`content` json NULL,
`update_time` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP(0),
PRIMARY KEY (`account_id`, `media`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for resource_content
— —————————-
DROP TABLE IF EXISTS `resource_content`;
CREATE TABLE `resource_content` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`media` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`author_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`content` json NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`, `media`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for resource_selling_price
— —————————-
DROP TABLE IF EXISTS `resource_selling_price`;
CREATE TABLE `resource_selling_price` (
`account_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`media` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`content` json NULL,
PRIMARY KEY (`account_id`, `media`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for role
— —————————-
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`creation_time` datetime(6) NULL DEFAULT NULL,
`update_time` datetime(6) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for subject
— —————————-
DROP TABLE IF EXISTS `subject`;
CREATE TABLE `subject` (
`id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for sync_time_stamp
— —————————-
DROP TABLE IF EXISTS `sync_time_stamp`;
CREATE TABLE `sync_time_stamp` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`last_sync` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for task_order
— —————————-
DROP TABLE IF EXISTS `task_order`;
CREATE TABLE `task_order` (
`id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`execution_task_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`summary` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_project_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_project_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`amount` double(12, 2) NULL DEFAULT NULL,
`transaction` double(12, 2) NULL DEFAULT NULL,
`type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`state` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`timestamps` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`stats` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`creator_principal_id` int(11) NULL DEFAULT NULL,
`creator_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`supplier_principal_id` int(11) NULL DEFAULT NULL,
`supplier_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_principal_id` int(11) NULL DEFAULT NULL,
`customer_subject_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
`external_id` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for transaction
— —————————-
DROP TABLE IF EXISTS `transaction`;
CREATE TABLE `transaction` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`order_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`summary` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`amount` double(12, 2) NULL DEFAULT NULL,
`account_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`account_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`account_number` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`reciprocal_account_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`reciprocal_account_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`reciprocal_number` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for user
— —————————-
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`user_group` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`start_date` date NULL DEFAULT NULL,
`end_date` date NULL DEFAULT NULL,
`subject_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`failed_login_attempts_count` int(11) NULL DEFAULT NULL,
`creation_time` datetime(6) NULL DEFAULT NULL,
`update_time` datetime(6) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 191 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for user_role
— —————————-
DROP TABLE IF EXISTS `user_role`;
CREATE TABLE `user_role` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NULL DEFAULT NULL,
`role_id` bigint(20) NULL DEFAULT NULL,
`creation_time` datetime(6) NULL DEFAULT NULL,
`update_time` datetime(6) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

— —————————-
— Table structure for user_subscript_resource
— —————————-
DROP TABLE IF EXISTS `user_subscript_resource`;
CREATE TABLE `user_subscript_resource` (
`id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`user_id` int(11) NULL DEFAULT NULL,
`subject_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`media` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`resource_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`account_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_subject_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`customer_principal_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

— —————————-
— Table structure for user_subscript_segment
— —————————-
DROP TABLE IF EXISTS `user_subscript_segment`;
CREATE TABLE `user_subscript_segment` (
`id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`user_id` int(11) NULL DEFAULT NULL,
`subject_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`media` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
`resource_types` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`resource_labels` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL,
`recommended` bit(1) NULL DEFAULT NULL,
`resources_count` int(11) NULL DEFAULT NULL,
`creation_time` datetime(0) NULL DEFAULT NULL,
`update_time` datetime(0) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;