
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `www_page_seo` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `page_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '页面类型: home / products / product_detail / news / news_detail / about / support',
  `entity_id` bigint unsigned DEFAULT NULL COMMENT '关联实体 ID（产品 ID 或文章 ID，通用页面时为 NULL）',
  `meta_title` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '自定义 <title>（空则自动生成）',
  `meta_description` varchar(160) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'Meta Description（空则继承全局默认）',
  `meta_keywords` varchar(300) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'Meta Keywords（空则继承全局默认）',
  `og_image_url` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'OG 图片（空则继承全局默认）',
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_page_entity` (`page_type`,`entity_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='页面级 SEO 配置';
/*!40101 SET character_set_client = @saved_cs_client */;

/*!40000 ALTER TABLE `www_page_seo` DISABLE KEYS */;
INSERT INTO `www_page_seo` (`id`, `page_type`, `entity_id`, `meta_title`, `meta_description`, `meta_keywords`, `og_image_url`, `updated_at`) VALUES (1,'home',NULL,'乐笙 Luxsin - 高保真音频设备官网','乐笙官方首页：高保真音频设备，还原每一个声音细节','乐笙,Luxsin,高保真,音频','','2026-08-03 08:59:30'),(2,'products',NULL,'乐笙产品中心 - 高保真音频设备','探索乐笙全系高保真音频产品','乐笙,Luxsin,产品,DAC','','2026-08-03 08:59:30'),(3,'news',NULL,'乐笙新闻中心 - 最新资讯','获取乐笙最新资讯与行业动态','乐笙,Luxsin,新闻','','2026-08-03 08:59:30');
/*!40000 ALTER TABLE `www_page_seo` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

