获取所有表... 数据库 limq 中找到以下表: - .inner_id.5d9e5f95-ad7d-4750-ae56-bffea63e14fb - .inner_id.711eb652-7c90-4f9a-80a0-8979011080cc - .inner_id.abec445d-1704-4482-bc72-66c9eb67ecd1 - .inner_id.c1eb844d-7f11-4cfc-8931-c433faaa16b0 - .inner_id.f9640e70-5b7f-444c-80de-bc5b25848024 - .inner_id.fe81eeba-acc5-4260-ac9a-973c2f9ce1ea - link_daily_stats - link_events - link_hourly_patterns - links - platform_distribution - project_daily_stats - projects - qr_scans - qrcode_daily_stats - qrcodes - sessions - team_daily_stats - team_members - teams 所有ClickHouse表: .inner_id.5d9e5f95-ad7d-4750-ae56-bffea63e14fb, .inner_id.711eb652-7c90-4f9a-80a0-8979011080cc, .inner_id.abec445d-1704-4482-bc72-66c9eb67ecd1, .inner_id.c1eb844d-7f11-4cfc-8931-c433faaa16b0, .inner_id.f9640e70-5b7f-444c-80de-bc5b25848024, .inner_id.fe81eeba-acc5-4260-ac9a-973c2f9ce1ea, link_daily_stats, link_events, link_hourly_patterns, links, platform_distribution, project_daily_stats, projects, qr_scans, qrcode_daily_stats, qrcodes, sessions, team_daily_stats, team_members, teams 获取表 .inner_id.5d9e5f95-ad7d-4750-ae56-bffea63e14fb 的结构... 获取表 .inner_id.711eb652-7c90-4f9a-80a0-8979011080cc 的结构... 获取表 .inner_id.abec445d-1704-4482-bc72-66c9eb67ecd1 的结构... 获取表 .inner_id.c1eb844d-7f11-4cfc-8931-c433faaa16b0 的结构... 获取表 .inner_id.f9640e70-5b7f-444c-80de-bc5b25848024 的结构... 获取表 .inner_id.fe81eeba-acc5-4260-ac9a-973c2f9ce1ea 的结构... 获取表 link_daily_stats 的结构... 表 link_daily_stats 的列: - date (Date, 无默认值) - link_id (String, 无默认值) - total_clicks (UInt64, 无默认值) - unique_visitors (UInt64, 无默认值) - unique_sessions (UInt64, 无默认值) - total_time_spent (UInt64, 无默认值) - avg_time_spent (Float64, 无默认值) - bounce_count (UInt64, 无默认值) - conversion_count (UInt64, 无默认值) - unique_referrers (UInt64, 无默认值) - mobile_count (UInt64, 无默认值) - tablet_count (UInt64, 无默认值) - desktop_count (UInt64, 无默认值) - qr_scan_count (UInt64, 无默认值) - total_conversion_value (Float64, 无默认值) 获取表 link_events 的结构... 表 link_events 的列: - event_id (UUID, 默认值: generateUUIDv4()) - event_time (DateTime64(3), 默认值: now64()) - date (Date, 默认值: toDate(event_time)) - link_id (String, 无默认值) - channel_id (String, 无默认值) - visitor_id (String, 无默认值) - session_id (String, 无默认值) - event_type (Enum8('click' = 1, 'redirect' = 2, 'conversion' = 3, 'error' = 4), 无默认值) - ip_address (String, 无默认值) - country (String, 无默认值) - city (String, 无默认值) - referrer (String, 无默认值) - utm_source (String, 无默认值) - utm_medium (String, 无默认值) - utm_campaign (String, 无默认值) - user_agent (String, 无默认值) - device_type (Enum8('mobile' = 1, 'tablet' = 2, 'desktop' = 3, 'other' = 4), 无默认值) - browser (String, 无默认值) - os (String, 无默认值) - time_spent_sec (UInt32, 默认值: 0) - is_bounce (Bool, 默认值: true) - is_qr_scan (Bool, 默认值: false) - qr_code_id (String, 默认值: '') - conversion_type (Enum8('visit' = 1, 'stay' = 2, 'interact' = 3, 'signup' = 4, 'subscription' = 5, 'purchase' = 6), 默认值: 'visit') - conversion_value (Float64, 默认值: 0) - custom_data (String, 默认值: '{}') 获取表 link_hourly_patterns 的结构... 表 link_hourly_patterns 的列: - date (Date, 无默认值) - hour (UInt8, 无默认值) - link_id (String, 无默认值) - visits (UInt64, 无默认值) - unique_visitors (UInt64, 无默认值) 获取表 links 的结构... 表 links 的列: - link_id (String, 无默认值) - original_url (String, 无默认值) - created_at (DateTime64(3), 无默认值) - created_by (String, 无默认值) - title (String, 无默认值) - description (String, 无默认值) - tags (Array(String), 无默认值) - is_active (Bool, 默认值: true) - expires_at (Nullable(DateTime), 无默认值) - team_id (String, 默认值: '') - project_id (String, 默认值: '') 获取表 platform_distribution 的结构... 表 platform_distribution 的列: - date (Date, 无默认值) - utm_source (String, 无默认值) - device_type (Enum8('mobile' = 1, 'tablet' = 2, 'desktop' = 3, 'other' = 4), 无默认值) - visits (UInt64, 无默认值) - unique_visitors (UInt64, 无默认值) 获取表 project_daily_stats 的结构... 表 project_daily_stats 的列: - date (Date, 无默认值) - project_id (String, 无默认值) - total_clicks (UInt64, 无默认值) - unique_visitors (UInt64, 无默认值) - conversion_count (UInt64, 无默认值) - links_used (UInt64, 无默认值) - qr_scan_count (UInt64, 无默认值) 获取表 projects 的结构... 表 projects 的列: - project_id (String, 无默认值) - team_id (String, 无默认值) - name (String, 无默认值) - created_at (DateTime, 无默认值) - created_by (String, 无默认值) - description (String, 默认值: '') - is_archived (Bool, 默认值: false) - links_count (UInt32, 默认值: 0) - total_clicks (UInt64, 默认值: 0) - last_updated (DateTime, 默认值: now()) 获取表 qr_scans 的结构... 表 qr_scans 的列: - scan_id (UUID, 默认值: generateUUIDv4()) - qr_code_id (String, 无默认值) - link_id (String, 无默认值) - scan_time (DateTime64(3), 无默认值) - visitor_id (String, 无默认值) - location (String, 无默认值) - device_type (Enum8('mobile' = 1, 'tablet' = 2, 'desktop' = 3, 'other' = 4), 无默认值) - led_to_conversion (Bool, 默认值: false) 获取表 qrcode_daily_stats 的结构... 表 qrcode_daily_stats 的列: - date (Date, 无默认值) - qr_code_id (String, 无默认值) - total_scans (UInt64, 无默认值) - unique_scanners (UInt64, 无默认值) - conversions (UInt64, 无默认值) - mobile_scans (UInt64, 无默认值) - tablet_scans (UInt64, 无默认值) - desktop_scans (UInt64, 无默认值) - unique_locations (UInt64, 无默认值) 获取表 qrcodes 的结构... 表 qrcodes 的列: - qr_code_id (String, 无默认值) - link_id (String, 无默认值) - team_id (String, 无默认值) - project_id (String, 默认值: '') - name (String, 无默认值) - description (String, 默认值: '') - created_at (DateTime, 无默认值) - created_by (String, 无默认值) - updated_at (DateTime, 默认值: now()) - qr_type (Enum8('standard' = 1, 'custom' = 2, 'dynamic' = 3), 默认值: 'standard') - image_url (String, 默认值: '') - design_config (String, 默认值: '{}') - is_active (Bool, 默认值: true) - total_scans (UInt64, 默认值: 0) - unique_scanners (UInt32, 默认值: 0) 获取表 sessions 的结构... 表 sessions 的列: - session_id (String, 无默认值) - visitor_id (String, 无默认值) - link_id (String, 无默认值) - started_at (DateTime64(3), 无默认值) - last_activity (DateTime64(3), 无默认值) - ended_at (Nullable(DateTime64(3)), 无默认值) - duration_sec (UInt32, 默认值: 0) - session_pages (UInt8, 默认值: 1) - is_completed (Bool, 默认值: false) 获取表 team_daily_stats 的结构... 表 team_daily_stats 的列: - date (Date, 无默认值) - team_id (String, 无默认值) - total_clicks (UInt64, 无默认值) - unique_visitors (UInt64, 无默认值) - conversion_count (UInt64, 无默认值) - links_used (UInt64, 无默认值) - qr_scan_count (UInt64, 无默认值) 获取表 team_members 的结构... 表 team_members 的列: - team_id (String, 无默认值) - user_id (String, 无默认值) - role (Enum8('owner' = 1, 'admin' = 2, 'editor' = 3, 'viewer' = 4), 无默认值) - joined_at (DateTime, 默认值: now()) - invited_by (String, 无默认值) - is_active (Bool, 默认值: true) - last_active (DateTime, 默认值: now()) 获取表 teams 的结构... 表 teams 的列: - team_id (String, 无默认值) - name (String, 无默认值) - created_at (DateTime, 无默认值) - created_by (String, 无默认值) - description (String, 默认值: '') - avatar_url (String, 默认值: '') - is_active (Bool, 默认值: true) - plan_type (Enum8('free' = 1, 'pro' = 2, 'enterprise' = 3), 无默认值) - members_count (UInt32, 默认值: 1) ClickHouse数据库结构检查完成