Commit d47d0099 authored by wlx@33.cn's avatar wlx@33.cn

修正sql

parent 613dcc0d
......@@ -2500,3 +2500,16 @@ ALTER TABLE `external_token`
ALTER TABLE `external_token`
ADD COLUMN `publisher` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '发行者';
ALTER TABLE `goods_spu` MODIFY `traceability_number` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '溯源编号';
-- 20212124
DROP TABLE IF EXISTS `goods_sku_usufruct`;
CREATE TABLE `goods_sku_usufruct` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`prefix` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '使用权前缀',
`serial_no` json DEFAULT NULL COMMENT '序列号',
`create_time` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`update_time` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
`commodity_pass_id` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '编号',
`merchant_id` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '商户号',
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='使用权';
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment