MySQL Create Table SQL
Table Structure: okayapi_crm_announcements:/tablelist/okayapi_crm_announcements.html
-- MySQL Table okayapi_crm_announcements
-- From: OkayAPI.com
CREATE TABLE `okayapi_crm_announcements` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL COMMENT '主题',
`announcements_type` varchar(255) NOT NULL COMMENT '公告类型',
`start_time` datetime NOT NULL COMMENT '开始时间',
`end_time` datetime NOT NULL COMMENT '结束时间',
`content` text NOT NULL COMMENT '内容',
`deleted` tinyint(255) NOT NULL DEFAULT '0' COMMENT '删除标识:0未删除,1删除',
KEY `title` (`title`),
KEY `announcements_type` (`announcements_type`),
KEY `start_time` (`start_time`),
KEY `end_time` (`end_time`),
KEY `content` (`content`),
KEY `deleted` (`deleted`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'CRM-公告';
After replication, you can go to the database to create the database table.
MySQL database table structure design
Displaying 1-6 of 6 results.
Field Name | Field Type | Default | IS NULL | Field Comment | Index | Demo Data |
---|---|---|---|---|---|---|
title | varchar(255) | 是 | 主题 | |||
announcements_type | varchar(255) | 是 | 公告类型 | |||
start_time | datetime | 是 | 开始时间 | |||
end_time | datetime | 是 | 结束时间 | |||
content | text | 是 | 内容 | |||
deleted | tinyint(255) | 0 | 否 | 删除标识:0未删除,1删除 | 0 |