+ 立即免费创建此表 返回数据库大全

MySQL建表SQL语句

数据库结构:微信婚礼请柬-状态检测:https://open.yesapi.cn/tablelist/yesapi_wedding_checkin_status.html


-- 数据库大全:微信婚礼请柬-状态检测
-- 来源:YesApi.cn
CREATE TABLE `yesapi_wedding_checkin_status` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `accountID` int(10) NOT NULL COMMENT '',
    `yesapi_wedding_checkin_status_status` enum('coming','absent','present') NOT NULL DEFAULT 'absent' COMMENT '',
    `createTime` datetime NOT NULL COMMENT '',
    `lastUpdateTime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '',
    KEY `accountID` (`accountID`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '微信婚礼请柬-状态检测';

复制后,到数据库执行,即可创建此数据库表。


MySQL数据库表结构设计

第 1-4 条, 共 4 条.
字段名称字段类型字段默认值是否允许为空字段描述索引字段数据示例
accountIDint(10)普通索引
yesapi_wedding_checkin_status_statusenum('coming','absent','present')absent无索引absent
createTimedatetime无索引
lastUpdateTimetimestamp0000-00-00 00:00:00无索引0000-00-00 00:00:00

猜你喜欢

MySQL数据库设计 微信婚礼请柬-反馈

MySQL数据库设计 微信婚礼请柬-大屏



回到顶部 ↑