phase/0-infrastructure #1

Merged
g82tt merged 25 commits from phase/0-infrastructure into master 2026-05-16 15:17:19 +08:00
Showing only changes of commit 4cbe12ee5d - Show all commits

View File

@@ -70,9 +70,9 @@ CREATE TABLE Device_Video_Ext (
) COMMENT '视频设备扩展表';
-- ============================================
-- 3. 视频通道表(已废弃,通道=Base_Device子记录
-- 保留此表给Owl专用存Owl通道原始信息+流地址
-- DeviceId(INT) → Base_Device.DeviceId
-- 3. 视频通道扩展
-- 存Owl通道的流地址/云台/录像能力等扩展信息
-- DeviceId(INT) → Base_Device.DeviceId一台NVR可有多条通道记录对应不同码流
-- ============================================
DROP TABLE IF EXISTS Video_Channel;
CREATE TABLE Video_Channel (
@@ -89,7 +89,7 @@ CREATE TABLE Video_Channel (
PRIMARY KEY (ChannelId),
INDEX IX_Device (DeviceId),
INDEX IX_Owl (OwlChannelId)
) COMMENT '视频通道Owl扩展信息';
) COMMENT '视频通道扩展';
-- ============================================
-- 4. 录像记录表