Files
baiyue-firstleg/output/local-schema-repair/plan.json
T

119 lines
4.8 KiB
JSON
Raw Normal View History

2026-10-20 11:33:20 +08:00
{
"baselineTables": 218,
"actualTables": 180,
"addedTables": [
"ll_appointment_followup",
"ll_dispatch_command",
"ll_dispatch_delivery_arrangement",
"ll_delivery_facts_changed",
"event_delivery_retry_audit",
"ll_procurement_wallet_attempt",
"ll_procurement_flow",
"ll_procurement_command",
"ll_procurement_budget_authorization",
"ll_procurement_receipt",
"ll_procurement_disposition",
"ll_procurement_manifest",
"ll_procurement_carton",
"ll_procurement_carton_source",
"ll_procurement_shipment",
"ll_procurement_shipment_item",
"ll_procurement_label_set",
"ll_procurement_label_item",
"ll_procurement_estimate_review",
"ll_procurement_repack",
"ll_procurement_fee_correction",
"ll_procurement_fee_correction_item",
"ll_procurement_control_note",
"ll_procurement_closure",
"ll_procurement_closure_item",
"ll_selfop_outbound_discovery_scope",
"ll_selfop_sync_scope",
"ll_selfop_sync_task",
"ll_selfop_sync_run",
"ll_selfop_sync_stage",
"ll_selfop_outbound_order",
"ll_selfop_outbound_item",
"ll_selfop_inventory_snapshot",
"ll_selfop_sku_daily_sales",
"ll_selfop_warehouse_daily_sales",
"ll_selfop_sku_profile",
"ll_appointment_impact",
"ll_appointment_impact_history",
"ll_selfop_owner",
"ll_selfop_product",
"ll_selfop_inventory_flow",
"ll_selfop_inventory_day_version",
"ll_selfop_inventory_daily"
],
"addedColumns": [
"ll_local_looseboard_order.product_name",
"ll_local_looseboard_order.estimated_pallet_count",
"ll_local_looseboard_order.origin_contact_name",
"ll_local_looseboard_order.origin_contact_phone",
"ll_local_looseboard_order.destination_contact_name",
"ll_local_looseboard_order.destination_contact_phone",
"ll_local_looseboard_order.pickup_at",
"ll_local_looseboard_order.delivery_at",
"ll_outbound_pallet_item.dispatch_item_id",
"ll_outbound_pallet_item.source_attribution_id",
"ll_outbound_pallet_item.source_order_id",
"ll_outbound_pallet_item.source_inventory_position_id",
"ll_outbound_pallet_item.source_return_receipt_id",
"ll_outbound_pallet_item.source_return_carton_id",
"ll_overseas_procurement_fee.purpose",
"ll_overseas_procurement_fee.confirmation_origin",
"ll_overseas_procurement_fee.fee_version",
"ll_overseas_procurement_fee.active",
"ll_overseas_procurement_fee.determination",
"ll_overseas_procurement_fee.original_currency",
"ll_overseas_procurement_fee.original_amount",
"ll_overseas_procurement_fee.exchange_rate",
"ll_overseas_procurement_fee.exchange_rate_month",
"ll_overseas_procurement_fee.business_date",
"ll_overseas_procurement_fee.wallet_business_id",
"ll_overseas_procurement_fee.wallet_business_no",
"ll_overseas_procurement_fee.wallet_hold_id",
"ll_overseas_procurement_fee.wallet_ledger_id",
"ll_overseas_procurement_fee.settled_command_event_id",
"ll_overseas_procurement_fee.source_fee_id",
"ll_overseas_procurement_fee.parent_fee_id",
"ll_overseas_procurement_fee.request_hash",
"ll_overseas_procurement_status_history.operation_type",
"ll_overseas_procurement_status_history.change_detail",
"ll_receiving_container_session.source_container_booking_id",
"ll_receiving_container_session.container_fact_hash",
"ll_receiving_container_session.overseas_warehouse_code",
"ll_return_inventory_outbound_movement.return_sku_quantity",
"ll_us_truck_order.vehicle_type",
"ll_us_truck_order.origin_contact_name",
"ll_us_truck_order.origin_contact_phone",
"ll_us_truck_order.destination_contact_name",
"ll_us_truck_order.destination_contact_phone",
"ll_us_truck_order.pickup_at",
"ll_us_truck_order.delivery_at"
],
"unsafe": [
{
"table": "ll_overseas_procurement_status_history",
"column": "operation_type",
"count": 9,
"definition": "operation_type varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '操作类型:CREATE、REVIEW或UPDATE'",
"handling": "历史行保留NULL,不伪造业务事实;新写入由应用校验"
},
{
"table": "ll_receiving_container_session",
"column": "source_container_booking_id",
"count": 1,
"definition": "source_container_booking_id varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '稳定来源柜预订ID'",
"handling": "历史行保留NULL,不伪造业务事实;新写入由应用校验"
},
{
"table": "ll_receiving_container_session",
"column": "container_fact_hash",
"count": 1,
"definition": "container_fact_hash varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '领取时整柜订单与计划事实摘要'",
"handling": "历史行保留NULL,不伪造业务事实;新写入由应用校验"
}
]
}