You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

221 lines
21 KiB

1 year ago
  1. -- --------------------------------------------------------
  2. -- 主机: 172.16.102.34
  3. -- 服务器版本: 5.7.38 - MySQL Community Server (GPL)
  4. -- 服务器操作系统: Win64
  5. -- HeidiSQL 版本: 12.3.0.6589
  6. -- --------------------------------------------------------
  7. -- 正在导出表 ca-cim-ap.dw_platform_info 的数据:~1 rows (大约)
  8. INSERT INTO `dw_platform_info` (`version`, `isTenant`, `versionDate`, `updateDate`) VALUES
  9. ('5.2.0.1002', 'Y', '2023-01-16', '2023-02-21');
  10. -- 正在导出表 ca-cim-ap.dw_query_info 的数据:~0 rows (大约)
  11. -- 正在导出表 ca-cim-ap.dw_rdbms_fields 的数据:~175 rows (大约)
  12. INSERT INTO `dw_rdbms_fields` (`TABLE_NAME`, `SEQ`, `FIELD_NAME`, `IS_KEY`, `FIELD_TYPE`, `STATUS_CODE`, `FIELD_DISPLAY_NAME`, `SCALE`, `DEFAULT_VALUE`, `NULLABLE`, `IS_VERSION`, `SIZE`, `IS_AUTO_INCREMENT`) VALUES
  13. ('dw_app_update', 4, 'allow_upd_expr', 'N', 'varchar', 'Y', 'allow_upd_expr', '0', '', 'N', 'N', '20', 'N'),
  14. ('dw_app_update', 3, 'allow_upd_version', 'N', 'varchar', 'Y', 'allow_upd_version', '0', '', 'N', 'N', '2000', 'N'),
  15. ('dw_app_prod', 1, 'app_code', 'Y', 'varchar', 'Y', 'app_code', '0', '', 'N', 'N', '20', 'N'),
  16. ('dw_app_release', 1, 'app_code', 'Y', 'varchar', 'Y', 'app_code', '0', '', 'N', 'N', '20', 'N'),
  17. ('dw_app_update', 1, 'app_code', 'Y', 'varchar', 'Y', 'app_code', '0', '', 'N', 'N', '20', 'N'),
  18. ('dw_schedule_time', 6, 'assign_time', 'N', 'varchar', 'Y', 'assign_time', '0', '', 'Y', 'N', '255', 'N'),
  19. ('dw_schedule_time', 26, 'byday', 'N', 'varchar', 'Y', 'byday', '0', '', 'Y', 'N', '255', 'N'),
  20. ('dw_schedule_time', 28, 'bymonthday', 'N', 'varchar', 'Y', 'bymonthday', '0', '', 'Y', 'N', '255', 'N'),
  21. ('dw_schedule_time', 29, 'byweeklyday', 'N', 'varchar', 'Y', 'byweeklyday', '0', '', 'Y', 'N', '255', 'N'),
  22. ('dw_log_operation', 7, 'client_ip', 'N', 'varchar', 'N', 'client_ip', '0', '', 'N', 'N', '50', 'N'),
  23. ('dw_log_operation_error', 10, 'client_ip', 'N', 'varchar', 'N', 'client_ip', '0', '', 'N', 'N', '50', 'N'),
  24. ('dw_log_operation_sql', 6, 'cmd_parameters', 'N', 'text', 'N', 'cmd_parameters', '0', '', 'Y', 'N', '1000', 'N'),
  25. ('dw_log_operation_sql', 7, 'cmd_seq', 'N', 'INT', 'N', 'cmd_seq', '0', '', 'Y', 'N', '11', 'N'),
  26. ('dw_log_operation_sql', 5, 'cmd_statement', 'N', 'text', 'N', 'cmd_statement', '0', '', 'Y', 'N', '1000', 'N'),
  27. ('dw_log_operation_sql', 4, 'cmd_table', 'N', 'varchar', 'N', 'cmd_table', '0', '', 'Y', 'N', '50', 'N'),
  28. ('dw_menu', 4, 'code', 'N', 'varchar', 'Y', 'code', '0', '', 'Y', 'N', '200', 'N'),
  29. ('dw_custom_column', 4, 'config', 'N', 'varchar', 'Y', 'config', '0', '', 'Y', 'N', '500', 'N'),
  30. ('dw_log_operation', 13, 'create_name', 'N', 'varchar', 'N', 'create_name', '0', '', 'N', 'N', '50', 'N'),
  31. ('dw_log_operation_error', 16, 'create_name', 'N', 'varchar', 'N', 'create_name', '0', '', 'N', 'N', '50', 'N'),
  32. ('dw_log_operation_sql', 8, 'create_name', 'N', 'varchar', 'N', 'create_name', '0', '', 'Y', 'N', '50', 'N'),
  33. ('dw_log_operation', 15, 'create_time', 'N', 'datetime', 'N', 'create_time', '0', '', 'N', 'N', NULL, 'N'),
  34. ('dw_log_operation_error', 15, 'create_time', 'N', 'datetime', 'N', 'create_time', '0', '', 'N', 'N', NULL, 'N'),
  35. ('dw_theme_filelog', 2, 'create_time', 'N', 'timestamp', 'Y', 'create_time', '0', '', 'N', 'N', '0', 'N'),
  36. ('dw_schedule_time', 24, 'daily', 'N', 'INT', 'Y', 'daily', '0', '', 'Y', 'N', '10', 'N'),
  37. ('dw_schedule_time', 5, 'day_of_month', 'N', 'varchar', 'Y', 'day_of_month', '0', '', 'Y', 'N', '255', 'N'),
  38. ('dw_schedule_time', 13, 'day_radio', 'N', 'varchar', 'Y', 'day_radio', '0', '', 'Y', 'N', '1', 'N'),
  39. ('dw_menu', 7, 'default_expand', 'N', 'number', 'Y', 'default_expand', '0', '0', 'Y', 'N', '1', 'N'),
  40. ('dw_app_prod', 2, 'description', 'N', 'varchar', 'Y', 'description', '0', '', 'N', 'N', '200', 'N'),
  41. ('dw_schedule', 6, 'description', 'N', 'varchar', 'Y', 'description', '0', '', 'Y', 'N', '100', 'N'),
  42. ('dw_schedule', 7, 'effective_time', 'N', 'datetime', 'Y', 'effective_time', '0', '', 'Y', 'N', '20', 'N'),
  43. ('dw_schedule', 5, 'enable_status', 'N', 'varchar', 'Y', 'enable_status', '0', '', 'Y', 'N', '1', 'N'),
  44. ('dw_schedule_record', 8, 'end_time', 'N', 'datetime', 'Y', 'end_time', '0', '', 'Y', 'N', '20', 'N'),
  45. ('dw_schedule_time', 21, 'end_time', 'N', 'datetime', 'Y', 'end_time', '0', '', 'Y', 'N', '20', 'N'),
  46. ('dw_log_operation_error', 6, 'error_message', 'N', 'varchar', 'N', 'error_message', '0', '', 'N', 'N', '2000', 'N'),
  47. ('dw_log_operation_error', 5, 'error_type', 'N', 'varchar', 'N', 'error_type', '0', '', 'N', 'N', '20', 'N'),
  48. ('dw_schedule_time', 31, 'exclude_date', 'N', 'varchar', 'Y', 'exclude_date', '0', '', 'Y', 'N', '255', 'N'),
  49. ('dw_schedule_time', 32, 'exclude_time', 'N', 'varchar', 'Y', 'exclude_time', '0', '', 'Y', 'N', '255', 'N'),
  50. ('dw_schedule_record', 1, 'execute_id', 'Y', 'varchar', 'Y', 'execute_id', '0', '', 'N', 'N', '128', 'N'),
  51. ('dw_schedule_record', 4, 'execute_status', 'N', 'varchar', 'Y', 'execute_status', '0', '', 'Y', 'N', '10', 'N'),
  52. ('dw_schedule_record', 14, 'executor', 'N', 'varchar', 'Y', 'executor', '0', '', 'Y', 'N', '50', 'N'),
  53. ('dw_schedule', 8, 'expire_time', 'N', 'datetime', 'Y', 'expire_time', '0', '', 'Y', 'N', '20', 'N'),
  54. ('dw_app_release', 4, 'file_id', 'N', 'varchar', 'Y', 'file_id', '0', '', 'N', 'N', '200', 'N'),
  55. ('dw_app_release', 6, 'file_name', 'N', 'varchar', 'Y', 'file_name', '0', '', 'N', 'N', '200', 'N'),
  56. ('dw_app_release', 3, 'file_seq', 'Y', 'number', 'Y', 'file_seq', '0', '', 'N', 'N', '10', 'N'),
  57. ('dw_theme_filelog', 1, 'fileid', 'Y', 'varchar', 'Y', 'fileid', '0', '', 'N', 'N', '50', 'N'),
  58. ('dw_schedule_time', 17, 'frequency', 'N', 'varchar', 'Y', 'frequency', '0', '', 'Y', 'N', '10', 'N'),
  59. ('dw_schedule_time', 8, 'holiday', 'N', 'varchar', 'Y', 'holiday', '0', '', 'Y', 'N', '255', 'N'),
  60. ('dw_schedule_time', 23, 'hourly', 'N', 'INT', 'Y', 'hourly', '0', '', 'Y', 'N', '10', 'N'),
  61. ('dw_menu', 6, 'icon_class', 'N', 'varchar', 'Y', 'icon_class', '0', '', 'Y', 'N', '200', 'N'),
  62. ('dw_menu', 1, 'id', 'Y', 'varchar', 'Y', 'id', '0', '', 'N', 'N', '100', 'N'),
  63. ('dw_schedule_contact', 1, 'id', 'Y', 'number', 'Y', 'id', '0', '', 'N', 'N', '10', 'N'),
  64. ('dw_log_operation', 9, 'input_value', 'N', 'text', 'N', 'input_value', '0', '', 'N', 'N', '4000', 'N'),
  65. ('dw_log_operation_error', 12, 'input_value', 'N', 'text', 'N', 'input_value', '0', '', 'N', 'N', '4000', 'N'),
  66. ('dw_schedule_time', 12, 'is_allow_concurrent', 'N', 'varchar', 'Y', 'is_allow_concurrent', '0', '', 'Y', 'N', '1', 'N'),
  67. ('dw_schedule_record', 12, 'is_misfire', 'N', 'varchar', 'Y', 'is_misfire', '0', 'N', 'N', 'N', '1', 'N'),
  68. ('dw_schedule_time', 34, 'is_retry', 'N', 'varchar', 'Y', 'is_retry', '0', '', 'N', 'N', '1', 'N'),
  69. ('dw_schedule', 3, 'job_name', 'N', 'varchar', 'Y', 'job_name', '0', '', 'Y', 'N', '50', 'N'),
  70. ('dw_schedule_record', 3, 'job_name', 'N', 'varchar', 'Y', 'job_name', '0', '', 'N', 'N', '50', 'N'),
  71. ('dw_menu_language', 2, 'language', 'Y', 'varchar', 'Y', 'language', '0', '', 'N', 'N', '50', 'N'),
  72. ('dw_schedule', 13, 'last_period_time', 'N', 'number', 'Y', 'last_period_time', '0', '', 'Y', 'N', '10', 'N'),
  73. ('dw_schedule', 12, 'last_success_time', 'N', 'datetime', 'Y', 'last_success_time', '0', '', 'Y', 'N', NULL, 'N'),
  74. ('dw_myhome', 2, 'level', 'Y', 'varchar', 'N', 'level', '', '', 'N', 'N', '255', 'N'),
  75. ('dw_myhome_parameter', 2, 'level', 'Y', 'varchar', 'N', 'level', '', '', 'N', 'N', '255', 'N'),
  76. ('dw_log_operation', 1, 'log_id', 'Y', 'varchar', 'N', 'id', '0', '', 'N', 'N', '50', 'N'),
  77. ('dw_log_operation_error', 1, 'log_id', 'Y', 'varchar', 'N', 'id', '0', '', 'N', 'N', '50', 'N'),
  78. ('dw_log_operation_sql', 1, 'log_id', 'Y', 'varchar', 'N', 'log_id', '0', '', 'N', 'N', '50', 'N'),
  79. ('dw_log_operation_sql', 3, 'log_type', 'N', 'INT', 'N', 'log_type', '0', '', 'Y', 'N', '4', 'N'),
  80. ('dw_schedule_contact', 5, 'mail_content', 'N', 'number', 'Y', 'mail_content', '0', '', 'Y', 'N', '255', 'N'),
  81. ('dw_schedule_contact', 4, 'mail_subject', 'N', 'number', 'Y', 'mail_subject', '0', '', 'Y', 'N', '255', 'N'),
  82. ('dw_schedule_contact', 3, 'mail_type', 'N', 'number', 'Y', 'mail_type', '0', '', 'Y', 'N', '10', 'N'),
  83. ('dw_schedule', 9, 'max_runtime', 'N', 'number', 'Y', 'max_runtime', '0', '', 'Y', 'N', '10', 'N'),
  84. ('dw_log_operation', 5, 'menu', 'N', 'varchar', 'N', 'menu', '0', '', 'N', 'N', '50', 'N'),
  85. ('dw_log_operation_error', 8, 'menu', 'N', 'varchar', 'N', 'operate_type', '0', '', 'N', 'N', '50', 'N'),
  86. ('dw_menu_language', 1, 'menu_id', 'Y', 'varchar', 'Y', 'menu_id', '0', '', 'N', 'N', '100', 'N'),
  87. ('dw_menu_parameter', 1, 'menu_id', 'Y', 'varchar', 'Y', 'menu_id', '0', '', 'N', 'N', '100', 'N'),
  88. ('dw_schedule_record', 5, 'message', 'N', 'TEXT', 'Y', 'message', '0', '', 'Y', 'N', NULL, 'N'),
  89. ('dw_schedule_record', 6, 'message_detail', 'N', 'varchar', 'Y', 'message_detail', '0', '', 'Y', 'N', '255', 'N'),
  90. ('dw_theme_filelog', 3, 'messege', 'N', 'varchar', 'Y', 'messege', '0', '', 'Y', 'N', '500', 'N'),
  91. ('dw_schedule_time', 22, 'minutely', 'N', 'INT', 'Y', 'minutely', '0', '', 'Y', 'N', '10', 'N'),
  92. ('dw_log_operation', 6, 'module', 'N', 'varchar', 'N', 'module', '0', '', 'N', 'N', '50', 'N'),
  93. ('dw_log_operation_error', 9, 'module', 'N', 'varchar', 'N', 'module', '0', '', 'N', 'N', '50', 'N'),
  94. ('dw_schedule', 17, 'module_name', 'N', 'varchar', 'Y', 'module_name', '0', '', 'Y', 'N', '50', 'N'),
  95. ('dw_schedule_time', 2, 'month', 'N', 'varchar', 'Y', 'month', '0', '', 'Y', 'N', '255', 'N'),
  96. ('dw_schedule_time', 14, 'month_radio', 'N', 'varchar', 'Y', 'month_radio', '0', '', 'Y', 'N', '1', 'N'),
  97. ('dw_schedule_time', 27, 'monthly', 'N', 'INT', 'Y', 'monthly', '0', '', 'Y', 'N', '10', 'N'),
  98. ('dw_menu_language', 3, 'name', 'N', 'varchar', 'Y', 'name', '0', '', 'Y', 'N', '200', 'N'),
  99. ('dw_menu_parameter', 2, 'name', 'Y', 'varchar', 'Y', 'name', '0', '', 'N', 'N', '200', 'N'),
  100. ('dw_myhome_parameter', 3, 'name', 'Y', 'varchar', 'N', 'name', '', '', 'N', 'N', '200', 'N'),
  101. ('dw_schedule', 14, 'next_execute_time', 'N', 'datetime', 'Y', 'next_execute_time', '0', '', 'Y', 'N', NULL, 'N'),
  102. ('dw_menu', 9, 'open_mode', 'N', 'varchar', 'Y', 'open_mode', '0', '', 'Y', 'N', '50', 'N'),
  103. ('dw_log_operation', 4, 'operate_desc', 'N', 'varchar', 'N', 'operate_desc', '0', '', 'N', 'N', '50', 'N'),
  104. ('dw_log_operation_error', 4, 'operate_desc', 'N', 'varchar', 'N', 'operate_desc', '0', '', 'N', 'N', '50', 'N'),
  105. ('dw_log_operation', 2, 'operate_no', 'N', 'varchar', 'N', 'operate_no', '0', '', 'N', 'N', '50', 'N'),
  106. ('dw_log_operation_error', 2, 'operate_no', 'N', 'varchar', 'N', 'operate_no', '0', '', 'N', 'N', '50', 'N'),
  107. ('dw_log_operation', 3, 'operate_type', 'N', 'varchar', 'N', 'operate_type', '0', '', 'N', 'N', '20', 'N'),
  108. ('dw_log_operation_error', 3, 'operate_type', 'N', 'varchar', 'N', 'operate_type', '0', '', 'N', 'N', '20', 'N'),
  109. ('dw_log_operation_sql', 2, 'operation_log_id', 'Y', 'varchar', 'N', 'operation_log_id', '0', '', 'N', 'N', '50', 'N'),
  110. ('dw_query_info', 5, 'owner', 'N', 'varchar', 'Y', 'owner', '0', '', 'Y', 'N', '45', 'N'),
  111. ('dw_menu', 3, 'parent_id', 'N', 'varchar', 'Y', 'parent_id', '0', '', 'Y', 'N', '100', 'N'),
  112. ('dw_myhome', 4, 'path', 'N', 'varchar', 'N', 'path', '', '', 'Y', 'N', '2000', 'N'),
  113. ('dw_log_operation_error', 18, 'prog_impl', 'N', 'varchar', 'N', 'function', '0', '', 'N', 'N', '200', 'N'),
  114. ('dw_schedule', 16, 'program_code', 'N', 'varchar', 'Y', 'program_code', '0', '', 'Y', 'N', '50', 'N'),
  115. ('dw_schedule_record', 12, 'program_code', 'N', 'varchar', 'Y', 'program_code', '0', '', 'Y', 'N', '50', 'N'),
  116. ('dw_theme', 2, 'prop', 'Y', 'varchar', 'Y', 'prop', '0', '', 'N', 'N', '50', 'N'),
  117. ('dw_query_info', 4, 'publish', 'N', 'varchar', 'Y', 'publish', '0', '', 'Y', 'N', '45', 'N'),
  118. ('dw_app_release', 5, 'published', 'N', 'varchar', 'Y', 'published', '0', '', 'N', 'N', '1', 'N'),
  119. ('dw_query_info', 1, 'query_id', 'Y', 'varchar', 'Y', 'query_id', '0', '', 'N', 'N', '45', 'N'),
  120. ('dw_query_info', 2, 'query_type', 'N', 'varchar', 'Y', 'query_type', '0', '', 'N', 'N', '45', 'N'),
  121. ('dw_schedule_contact', 6, 'receiver_email', 'N', 'number', 'Y', 'receiver_email', '0', '', 'Y', 'N', '255', 'N'),
  122. ('dw_schedule', 11, 'recent_status', 'N', 'varchar', 'Y', 'recent_status', '0', '', 'Y', 'N', '255', 'N'),
  123. ('dw_log_operation', 14, 'remark', 'N', 'varchar', 'N', 'remark', '0', '', 'N', 'N', '1000', 'N'),
  124. ('dw_schedule_time', 18, 'repeat_count', 'N', 'number', 'Y', 'repeat_count', '0', '', 'Y', 'N', '65', 'N'),
  125. ('dw_schedule_time', 19, 'repeat_type', 'N', 'varchar', 'Y', 'repeat_type', '0', '', 'Y', 'N', '1', 'N'),
  126. ('dw_schedule_time', 33, 'retry_after_misfire_sec', 'N', 'INT', 'Y', 'retry_after_misfire_sec', '0', '', 'Y', 'N', '10', 'N'),
  127. ('dw_log_operation', 10, 'return_value', 'N', 'text', 'N', 'return_value', '0', '', 'N', 'N', '4000', 'N'),
  128. ('dw_log_operation_error', 13, 'return_value', 'N', 'text', 'N', 'return_value', '0', '', 'N', 'N', '4000', 'N'),
  129. ('dw_schedule', 1, 'schedule_id', 'Y', 'varchar', 'Y', 'schedule_id', '0', '', 'N', 'N', '50', 'N'),
  130. ('dw_schedule_contact', 2, 'schedule_id', 'N', 'number', 'Y', 'schedule_id', '0', '', 'N', 'N', '50', 'N'),
  131. ('dw_schedule_record', 2, 'schedule_id', 'N', 'varchar', 'Y', 'schedule_id', '0', '', 'N', 'N', '50', 'N'),
  132. ('dw_schedule_time', 1, 'schedule_id', 'Y', 'varchar', 'Y', 'schedule_id', '0', '', 'N', 'N', '50', 'N'),
  133. ('dw_schedule', 2, 'schedule_name', 'N', 'varchar', 'Y', 'schedule_name', '0', '', 'Y', 'N', '50', 'N'),
  134. ('dw_schedule_record', 13, 'schedule_name', 'N', 'varchar', 'Y', 'schedule_name', '0', '', 'Y', 'N', '50', 'N'),
  135. ('dw_schedule', 10, 'schedule_param', 'N', 'TEXT', 'Y', 'schedule_param', '0', '', 'Y', 'N', NULL, 'N'),
  136. ('dw_schedule_record', 9, 'schedule_param', 'N', 'TEXT', 'Y', 'schedule_param', '0', '', 'Y', 'N', NULL, 'N'),
  137. ('dw_schedule', 4, 'schedule_type', 'N', 'varchar', 'Y', 'schedule_type', '0', '', 'Y', 'N', '1', 'N'),
  138. ('dw_schedule_record', 10, 'schedule_type', 'N', 'varchar', 'Y', 'schedule_type', '0', '', 'Y', 'N', '1', 'N'),
  139. ('dw_schedule_contact', 7, 'send_condition', 'N', 'number', 'Y', 'send_condition', '0', '', 'Y', 'N', '50', 'N'),
  140. ('dw_menu', 5, 'sequence', 'N', 'number', 'Y', 'sequence', '0', '', 'N', 'N', '20', 'N'),
  141. ('dw_query_info', 3, 'sql_statement', 'N', 'varchar', 'Y', 'sql_statement', '0', '', 'N', 'N', '450', 'N'),
  142. ('dw_schedule_record', 7, 'start_time', 'N', 'datetime', 'Y', 'start_time', '0', '', 'Y', 'N', '20', 'N'),
  143. ('dw_schedule_time', 20, 'start_time', 'N', 'datetime', 'Y', 'start_time', '0', '', 'Y', 'N', '20', 'N'),
  144. ('dw_log_operation', 12, 'status', 'N', 'INT', 'Y', 'status', '0', '', 'N', 'N', '4', 'N'),
  145. ('dw_custom_column', 2, 'table_id', 'Y', 'varchar', 'Y', 'table_id', '0', '', 'N', 'N', '50', 'N'),
  146. ('dw_custom_column', 1, 'tenantsid', 'Y', 'bigint', 'Y', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  147. ('dw_log_operation', 19, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  148. ('dw_log_operation_error', 19, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  149. ('dw_log_operation_sql', 9, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  150. ('dw_myhome', 6, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '', '', 'N', 'N', '20', 'N'),
  151. ('dw_myhome_parameter', 5, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '', '', 'N', 'N', '20', 'N'),
  152. ('dw_schedule', 15, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  153. ('dw_schedule_contact', 8, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  154. ('dw_schedule_record', 11, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  155. ('dw_schedule_time', 30, 'tenantsid', 'Y', 'bigint', 'N', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  156. ('dw_theme', 1, 'tenantsid', 'Y', 'bigint', 'Y', 'tenantsid', '0', '', 'N', 'N', '20', 'N'),
  157. ('dw_schedule_time', 7, 'time', 'N', 'varchar', 'Y', 'time', '0', '', 'Y', 'N', '255', 'N'),
  158. ('dw_schedule_time', 9, 'time1', 'N', 'varchar', 'Y', 'time1', '0', '', 'Y', 'N', '255', 'N'),
  159. ('dw_schedule_time', 10, 'time2', 'N', 'varchar', 'Y', 'time2', '0', '', 'Y', 'N', '255', 'N'),
  160. ('dw_schedule_time', 11, 'time3', 'N', 'varchar', 'Y', 'time3', '0', '', 'Y', 'N', '255', 'N'),
  161. ('dw_log_operation', 11, 'time_consume', 'N', 'bigint', 'N', 'time_consume', '0', '', 'N', 'N', '20', 'N'),
  162. ('dw_log_operation_error', 14, 'time_consume', 'N', 'bigint', 'N', 'time_consume', '0', '', 'N', 'N', '20', 'N'),
  163. ('dw_schedule_time', 15, 'time_radio', 'N', 'varchar', 'Y', 'time_radio', '0', '', 'Y', 'N', '1', 'N'),
  164. ('dw_log_operation', 18, 'traceid', 'N', 'varchar', 'N', 'traceid', '0', '', 'N', 'N', '50', 'N'),
  165. ('dw_log_operation_error', 17, 'traceid', 'N', 'varchar', 'N', 'traceid', '0', '', 'N', 'N', '50', 'N'),
  166. ('dw_menu', 2, 'type', 'N', 'varchar', 'Y', 'type', '0', '', 'N', 'N', '50', 'N'),
  167. ('dw_myhome', 3, 'type', 'N', 'varchar', 'N', 'type', '', '', 'Y', 'N', '20', 'N'),
  168. ('dw_log_operation', 16, 'update_name', 'N', 'varchar', 'N', 'update_name', '0', '', 'N', 'N', '50', 'N'),
  169. ('dw_log_operation', 17, 'update_time', 'N', 'datetime', 'N', 'update_time', '0', '', 'N', 'N', NULL, 'N'),
  170. ('dw_log_operation', 8, 'url', 'N', 'varchar', 'N', 'url', '0', '', 'N', 'N', '1000', 'N'),
  171. ('dw_log_operation_error', 11, 'url', 'N', 'varchar', 'N', 'url', '0', '', 'N', 'N', '1000', 'N'),
  172. ('dw_menu', 8, 'url', 'N', 'varchar', 'Y', 'url', '0', '', 'Y', 'N', '2000', 'N'),
  173. ('dw_custom_column', 3, 'userid', 'Y', 'varchar', 'Y', 'userid', '0', '', 'N', 'N', '50', 'N'),
  174. ('dw_myhome', 1, 'userid', 'Y', 'varchar', 'N', 'userid', '', '', 'N', 'N', '40', 'N'),
  175. ('dw_myhome_parameter', 1, 'userid', 'Y', 'varchar', 'N', 'userid', '', '', 'N', 'N', '40', 'N'),
  176. ('dw_theme', 4, 'userid', 'N', 'varchar', 'Y', 'userid', '0', '', 'Y', 'N', '50', 'N'),
  177. ('dw_menu_parameter', 3, 'value', 'N', 'varchar', 'Y', 'value', '0', '', 'Y', 'N', '200', 'N'),
  178. ('dw_myhome_parameter', 4, 'value', 'N', 'varchar', 'N', 'value', '', '', 'Y', 'N', '200', 'N'),
  179. ('dw_theme', 3, 'value', 'N', 'varchar', 'Y', 'value', '0', '', 'Y', 'N', '500', 'N'),
  180. ('dw_app_release', 2, 'version', 'Y', 'varchar', 'Y', 'version', '0', '', 'N', 'N', '20', 'N'),
  181. ('dw_app_update', 2, 'version', 'Y', 'varchar', 'Y', 'version', '0', '', 'N', 'N', '20', 'N'),
  182. ('dw_menu', 10, 'version', 'N', 'number', 'Y', 'version', '0', '', 'N', 'Y', '20', 'N'),
  183. ('dw_myhome', 5, 'version', 'N', 'int', 'N', 'version', '', '', 'Y', 'Y', '11', 'N'),
  184. ('dw_schedule_time', 4, 'week', 'N', 'varchar', 'Y', 'week', '0', '', 'Y', 'N', '255', 'N'),
  185. ('dw_schedule_time', 3, 'week_of_month', 'N', 'varchar', 'Y', 'week_of_month', '0', '', 'Y', 'N', '255', 'N'),
  186. ('dw_schedule_time', 16, 'week_radio', 'N', 'varchar', 'Y', 'week_radio', '0', '', 'N', 'N', '1', 'N'),
  187. ('dw_schedule_time', 25, 'weekly', 'N', 'INT', 'Y', 'weekly', '0', '', 'Y', 'N', '10', 'N');
  188. -- 正在导出表 ca-cim-ap.dw_rdbms_relations 的数据:~6 rows (大约)
  189. INSERT INTO `dw_rdbms_relations` (`PRIMARY_TABLE_NO`, `REFERENCE_TABLE_NO`, `PRIMARY_TABLE_PK`, `REFERENCE_TABLE_PK`, `TYPE`) VALUES
  190. ('dw_app_prod', 'dw_app_release', 'app_code', 'app_code', NULL),
  191. ('dw_app_prod', 'dw_app_update', 'app_code', 'app_code', NULL),
  192. ('dw_log_operation', 'dw_log_operation_sql', 'log_id', 'operation_log_id', NULL),
  193. ('dw_menu', 'dw_menu_language', 'id', 'menu_id', NULL),
  194. ('dw_menu', 'dw_menu_parameter', 'id', 'menu_id', NULL),
  195. ('dw_myhome', 'dw_myhome_parameter', 'tenantsid,userid,level', 'tenantsid,userid,level', NULL);
  196. -- 正在导出表 ca-cim-ap.dw_rdbms_tables 的数据:~18 rows (大约)
  197. INSERT INTO `dw_rdbms_tables` (`table_name`, `table_display_name`, `table_description`, `delete_constraint`, `hint_field`, `insert_default_value`, `update_default_value`) VALUES
  198. ('dw_app_prod', 'dw_app_prod', '應用產品線', 'N', NULL, 'N', 'N'),
  199. ('dw_app_release', 'dw_app_release', '應用版本發布與釋出', 'N', NULL, 'N', 'N'),
  200. ('dw_app_update', 'dw_app_update', '應用更新版本對應', 'N', NULL, 'N', 'N'),
  201. ('dw_custom_column', '個性化欄位表', '個性化欄位表', 'N', NULL, 'N', 'N'),
  202. ('dw_log_operation', 'dw_log_operation', '操作日誌', 'N', NULL, 'N', 'N'),
  203. ('dw_log_operation_error', 'dw_log_operation_error', '操作異常日誌', 'N', NULL, 'N', 'N'),
  204. ('dw_log_operation_sql', 'dw_log_operation_sql', '操作日誌SQL', 'N', NULL, 'N', 'N'),
  205. ('dw_menu', 'dw_menu', '菜单', 'N', NULL, 'N', 'N'),
  206. ('dw_menu_language', 'dw_menu_language', '菜单多语言', 'N', NULL, 'N', 'N'),
  207. ('dw_menu_parameter', 'dw_menu_parameter', '菜单参数', 'N', NULL, 'N', 'N'),
  208. ('dw_myhome', 'dw_myhome', '自定義首頁主表', 'N', NULL, 'N', 'N'),
  209. ('dw_myhome_parameter', 'dw_myhomedw_parameter', '自定義首頁參數表', 'N', NULL, 'N', 'N'),
  210. ('dw_schedule', '排程表', '排程表', 'N', NULL, 'N', 'N'),
  211. ('dw_schedule_contact', '排程寄信通知表', '排程寄信通知表', 'N', NULL, 'N', 'N'),
  212. ('dw_schedule_record', '排程執行記錄', '排程執行記錄', 'N', NULL, 'N', 'N'),
  213. ('dw_schedule_time', '排程執行時間設定檔', '排程執行時間設定檔', 'N', NULL, 'N', 'N'),
  214. ('dw_theme', '企業主題主表', '企業主題主表', 'N', NULL, 'N', 'N'),
  215. ('dw_theme_filelog', '企業主題文件上傳日誌', '企業主題文件上傳日誌', 'N', NULL, 'N', 'N');