作者 yangfu

ci: MQTT_UP set true

@@ -2,5 +2,17 @@ @@ -2,5 +2,17 @@
2 -- 表 product_plan 2 -- 表 product_plan
3 -- 唯一索引 company_id,org_id,batch_number 3 -- 唯一索引 company_id,org_id,batch_number
4 create unique index idx_product_plan_company_id_org_id_batch_number on manufacture.product_plan using btree (company_id,org_id,batch_number); 4 create unique index idx_product_plan_company_id_org_id_batch_number on manufacture.product_plan using btree (company_id,org_id,batch_number);
  5 +CREATE INDEX IF NOT EXISTS idx_files_source_file_id on metadata.files using btree(source_file_id);
5 6
  7 +CREATE INDEX IF NOT EXISTS idx_tables_company_id_table_type on metadata.tables using btree((context->>'companyId'),table_type);
  8 +CREATE INDEX IF NOT EXISTS idx_tables_parent_id on metadata.tables using btree(parent_id);
6 9
  10 +CREATE INDEX IF NOT EXISTS idx_logs_company_id_log_type_source_id on metadata.logs using btree((context->>'companyId'),log_type,source_id);
  11 +CREATE INDEX IF NOT EXISTS idx_logs_company_id_object_name on metadata.logs using btree((context->>'companyId'),object_name);
  12 +CREATE INDEX IF NOT EXISTS idx_logs_company_id_object_type on metadata.logs using btree((context->>'companyId'),object_type);
  13 +CREATE INDEX IF NOT EXISTS idx_logs_company_id_operation_type on metadata.logs using btree((context->>'companyId'),operation_type);
  14 +CREATE INDEX IF NOT EXISTS idx_logs_company_id_content on metadata.logs using btree((context->>'companyId'),content);
  15 +CREATE INDEX IF NOT EXISTS idx_logs_company_id_operator_name on metadata.logs using btree((context->>'companyId'),operator_name);
  16 +CREATE INDEX IF NOT EXISTS idx_logs_company_id_created_at on metadata.logs using btree((context->>'companyId'),created_at);
  17 +
  18 +CREATE INDEX IF NOT EXISTS idx_mapping_rules_company_id_table_id_file_id on metadata.mapping_rules using btree((context->>'companyId'),table_id,file_id);
@@ -119,4 +119,6 @@ spec: @@ -119,4 +119,6 @@ spec:
119 - name: MQTT_HOST 119 - name: MQTT_HOST
120 value: "47.97.5.102" 120 value: "47.97.5.102"
121 - name: MQTT_PORT 121 - name: MQTT_PORT
122 - value: "6000"  
  122 + value: "6000"
  123 + - name: MQTT_UP
  124 + value: "true"