b2c_goods_brand.sql 848 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. Source Server Version: 8.0.31
  3. Source Database: backendsys
  4. Date: 2023/08/18 12:51:10
  5. */
  6. DROP TABLE IF EXISTS `b2c_goods_brand`;
  7. CREATE TABLE `b2c_goods_brand` (
  8. PRIMARY KEY (`id`),
  9. `id` BIGINT AUTO_INCREMENT COMMENT 'ID',
  10. `parent_id` BIGINT COMMENT '父ID',
  11. `brand_name` VARCHAR(100) NOT NULL COMMENT '商品品牌名称',
  12. `sort` INT DEFAULT '1' COMMENT '排序',
  13. `status` TINYINT(1) DEFAULT '1' COMMENT '商品品牌状态 (-1禁用, 1启用)'
  14. ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='商品品牌表';
  15. INSERT INTO b2c_goods_brand(brand_name, sort) VALUES
  16. ('小米', 5),
  17. ('三星', 5),
  18. ('Nike', 5),
  19. ('Chanel', 5),
  20. ('Coca-Cola', 5),
  21. ('Apple', 5),
  22. ('Adidas', 5),
  23. ('Louis Vuitton', 5),
  24. ('Huawei', 5),
  25. ('Gucci', 5),
  26. ('Puma', 5),
  27. ('Starbucks', 5)
  28. ;