将文件拖动至此

SQL 上传 ( 0 ) x -

页面相关设置 点击以滚动到页面顶部
按 Ctrl+Enter 键执行查询 按 Enter 执行查询
递增排序
递减排序
命令:
调试 SQL
数量
运行顺序
用时
排序条件:
联合查询
不使用联合查询
崩溃 扩展 显示跟踪 隐藏跟踪 数量 : 用时 :
书签
刷新
添加
没有书签
添加书签
选项
恢复默认





崩溃 扩展 重新查询 编辑 解析 性能分析 书签 查询失败 数据库 : 查询时间 :
未命名 *
v 显示/隐藏表格列表 全屏查看 从其他数据库中添加表 新页面 打开页面 保存页面 保存页面为 删除页 新建数据表 创建关系 选择要显示的字段 重新载入 帮助 折角连接 / 直接连接 对齐网格 v 全部收缩/展开 反向收缩/展开 显示/隐藏关系线 导出架构 > 移动菜单 > 固定文字
数据表数量: 0
v tiktok_ai_affiliate affiliate_orders
* id : bigint(20) unsigned
* tiktok_order_id : varchar(100)
* product_id : bigint(20) unsigned
* order_amount : decimal(12,2)
* commission_amount : decimal(12,2)
* currency : varchar(12)
* order_status : varchar(50)
* raw_json : longtext
* ordered_at : datetime
* updated_at : datetime
v tiktok_ai_affiliate affiliate_products
* id : bigint(20) unsigned
* tiktok_product_id : varchar(80)
* title : varchar(255)
* shop_name : varchar(255)
* category_id : varchar(80)
* price : decimal(12,2)
* currency : varchar(12)
* commission_rate : decimal(8,4)
* commission_amount : decimal(12,2)
* rating : decimal(4,2)
* sales_count : bigint(20) unsigned
* product_url : text
* image_url : text
* raw_json : longtext
* is_active : tinyint(1)
* discovered_at : datetime
* updated_at : datetime
v tiktok_ai_affiliate content_queue
* id : bigint(20) unsigned
* product_id : bigint(20) unsigned
* content_type : enum('video','photo')
* hook : text
* script_text : longtext
* caption_text : text
* hashtags : text
* media_path : text
* status : enum('draft','ready','approved','publishing','published','failed')
* publish_after : datetime
* tiktok_publish_id : varchar(120)
* error_text : text
* created_at : datetime
* updated_at : datetime
v tiktok_ai_affiliate follower_snapshots
* id : bigint(20) unsigned
* follower_count : int(10) unsigned
* snapshot_date : date
* note : varchar(255)
* created_at : datetime
v tiktok_ai_affiliate growth_content_ideas
* id : bigint(20) unsigned
* title : varchar(255)
* pillar : varchar(100)
* hook : text
* script_text : longtext
* caption_text : text
* hashtags : text
* cta : text
* ai_score : decimal(4,2)
* ai_reason : text
* selected_today : tinyint(1)
* approved_at : datetime
* status : enum('idea','ready','approved','published','archived')
* scheduled_at : datetime
* planned_slot : varchar(20)
* published_at : datetime
* created_at : datetime
* updated_at : datetime
v tiktok_ai_affiliate growth_daily_plan
* id : bigint(20) unsigned
* plan_date : date
* slot_time : time
* content_idea_id : bigint(20) unsigned
* status : enum('planned','published','skipped')
* created_at : datetime
* updated_at : datetime
v tiktok_ai_affiliate growth_post_metrics
* id : bigint(20) unsigned
* content_idea_id : bigint(20) unsigned
* tiktok_post_id : varchar(120)
* views : bigint(20) unsigned
* likes : bigint(20) unsigned
* comments : bigint(20) unsigned
* shares : bigint(20) unsigned
* followers_gained : int(11)
* measured_at : datetime
v tiktok_ai_affiliate growth_profile
* id : tinyint(3) unsigned
* current_followers : int(10) unsigned
* target_followers : int(10) unsigned
* niche : varchar(150)
* tone : varchar(100)
* available_assets : text
* daily_post_target : tinyint(3) unsigned
* updated_at : datetime
v tiktok_ai_affiliate growth_video_renders
* id : bigint(20) unsigned
* content_idea_id : bigint(20) unsigned
* render_date : date
* slot_time : time
* status : enum('queued','rendering','ready','failed')
* video_path : text
* audio_path : text
* error_text : text
* created_at : datetime
* updated_at : datetime
v tiktok_ai_affiliate growth_visual_quality
* id : bigint(20) unsigned
* content_idea_id : bigint(20) unsigned
* render_date : date
* scene_no : int(11)
* overall_score : decimal(4,2)
* relevance_score : decimal(4,2)
* composition_score : decimal(4,2)
* subtitle_space_score : decimal(4,2)
* duplicate_risk : varchar(20)
* artifact_risk : varchar(20)
* text_logo_risk : varchar(20)
* passed : tinyint(1)
* reason : text
* suggestion : text
* model_name : varchar(100)
* raw_json : longtext
* checked_at : datetime
v tiktok_ai_affiliate growth_visual_scenes
* id : bigint(20) unsigned
* content_idea_id : bigint(20) unsigned
* render_date : date
* scene_no : tinyint(3) unsigned
* source_text : text
* image_prompt : text
* image_model : varchar(80)
* image_path : text
* status : enum('queued','generating','ready','failed')
* error_text : text
* created_at : datetime
* updated_at : datetime
v tiktok_ai_affiliate product_scores
* id : bigint(20) unsigned
* product_id : bigint(20) unsigned
* score_total : decimal(6,2)
* rationale : text
* scored_at : datetime
v tiktok_ai_affiliate publishing_queue
* id : bigint(20) unsigned
* content_idea_id : bigint(20) unsigned
* render_id : bigint(20) unsigned
* publish_date : date
* publish_time : time
* scheduled_at : datetime
* video_path : varchar(1000)
* caption_text : text
* hashtags : text
* status : enum('queued','ready','posting','posted','failed','cancelled')
* platform : varchar(30)
* readiness_score : decimal(4,2)
* provider_post_id : varchar(255)
* error_text : text
* created_at : datetime
* updated_at : datetime
* posted_at : datetime
创建关系
FOREIGN KEY
on delete
on update
删除关系