All checks were successful
continuous-integration/drone/push Build is passing
- Add migration script to introduce rack_type field (0=ODF, 1=optical box) - Add RackType, LeftPortsCount, RightPortsCount properties to OdfRacks model and DTOs - Add rack type selector and port count inputs to OdfRackForm component - Display rack type labels in OdfRacks management table - Add rack type badges to uni-app rack list cards - Implement dual-column layout for optical box type in rack detail page with left/right port sections - Add optical box port naming format (A-1, A-2, etc.) with row-based labeling - Add visual distinction with background colors (left: #E3F2FD, right: #FFF3E0) and center divider - Update import/export DTOs to support rack type and optical box port naming - Mark all v1.0.2.1 tasks as completed
7 lines
211 B
SQL
7 lines
211 B
SQL
-- ODF v1.0.2.1 数据库迁移脚本
|
||
-- 新增光交箱机架类型支持
|
||
|
||
-- SQL Server 语法
|
||
ALTER TABLE odf_racks ADD rack_type INT NOT NULL DEFAULT 0;
|
||
-- rack_type: 机架类型,0=ODF机架, 1=光交箱
|