Closed skyoo2003 closed 8 years ago
CREATE TABLE `articles` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` text NOT NULL, `content` longtext NOT NULL, `writer` varchar(64) NOT NULL DEFAULT '', `created_at` datetime NOT NULL, `url` varchar(240) CHARACTER SET utf8 NOT NULL DEFAULT '', `category` varchar(32) CHARACTER SET utf8 NOT NULL DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `url` (`url`), KEY `category` (`category`), KEY `created_at` (`created_at`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
아티클 테이블 스키마 확정