-- MySQL dump 10.13  Distrib 8.0.40, for Linux (x86_64)
--
-- Host: localhost    Database: happy_paradise
-- ------------------------------------------------------
-- Server version	8.0.40-0ubuntu0.22.04.1

/*!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 */;

--
-- Table structure for table `continuous_events_copywriting`
--

DROP TABLE IF EXISTS `continuous_events_copywriting`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `continuous_events_copywriting` (
  `uid` bigint unsigned NOT NULL AUTO_INCREMENT,
  `continuous_events_uid` bigint unsigned NOT NULL,
  `language` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '語言選項，依照ISO 639-1(語言代碼)+ISO 3166-1(國家地區代碼 - 兩位字母)標準輸入(範例:en_US, zh_TW)',
  `title` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '主標題',
  `content` longtext COLLATE utf8mb4_unicode_ci COMMENT '活動文案內文',
  `image_path` text COLLATE utf8mb4_unicode_ci COMMENT '賬戶圖片路徑',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`uid`),
  KEY `continuous_events_uid` (`continuous_events_uid`),
  CONSTRAINT `continuous_events_uid` FOREIGN KEY (`continuous_events_uid`) REFERENCES `continuous_events` (`uid`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `continuous_events_copywriting`
--

LOCK TABLES `continuous_events_copywriting` WRITE;
/*!40000 ALTER TABLE `continuous_events_copywriting` DISABLE KEYS */;
REPLACE INTO `continuous_events_copywriting` VALUES (1,1,'en_US','Get good gifts every day~',NULL,NULL,'2024-11-12 06:21:32','2024-11-12 06:29:43'),(2,1,'zh_TW','天天拿好禮~',NULL,NULL,'2024-11-12 06:21:32','2024-11-12 06:29:43');
/*!40000 ALTER TABLE `continuous_events_copywriting` ENABLE KEYS */;
UNLOCK TABLES;
/*!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 */;

-- Dump completed on 2025-01-20 19:22:34
