MySQL建表SQL语句
数据库结构:商城系统-商品属性详情表:https://open.yesapi.cn/tablelist/yesapi_yshopmall_yx_store_product_attr_result.html
-- 数据库大全:商城系统-商品属性详情表
-- 来源:YesApi.cn
CREATE TABLE `yesapi_yshopmall_yx_store_product_attr_result` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`product_id` bigint(20) NOT NULL COMMENT '商品ID',
`result` text NOT NULL COMMENT '商品属性参数',
`change_time` datetime NOT NULL COMMENT '上次修改时间',
KEY `product_id` (`product_id`),
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT '商城系统-商品属性详情表';
复制后,到数据库执行,即可创建此数据库表。
MySQL数据库表结构设计
第 1-3 条, 共 3 条.
字段名称 | 字段类型 | 字段默认值 | 是否允许为空 | 字段描述 | 索引 | 字段数据示例 |
---|---|---|---|---|---|---|
product_id | bigint(20) | 否 | 商品ID | 普通索引 | ||
result | text | 否 | 商品属性参数 | 无索引 | ||
change_time | datetime | 否 | 上次修改时间 | 无索引 |