zoukankan      html  css  js  c++  java
  • phpmyadmin 导出数据表

    --
    -- 表的结构 `eb_store_category`
    --
    
    DROP TABLE IF EXISTS `eb_store_category`;
    CREATE TABLE `eb_store_category` (
      `id` int(11) NOT NULL COMMENT '商品分类表ID',
      `pid` int(11) NOT NULL DEFAULT '0' COMMENT '父id',
      `cate_name` varchar(100) NOT NULL DEFAULT '' COMMENT '分类名称',
      `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
      `pic` varchar(128) NOT NULL DEFAULT '' COMMENT '图标',
      `is_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否推荐',
      `add_time` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
      `big_pic` varchar(255) NOT NULL DEFAULT '' COMMENT '分类大图'
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品分类表';
    
    --
    -- 转储表的索引
    --
    
    --
    -- 表的索引 `eb_store_category`
    --
    ALTER TABLE `eb_store_category`
      ADD PRIMARY KEY (`id`) USING BTREE,
      ADD KEY `pid` (`pid`) USING BTREE,
      ADD KEY `is_base` (`is_show`) USING BTREE,
      ADD KEY `sort` (`sort`) USING BTREE,
      ADD KEY `add_time` (`add_time`) USING BTREE;
    
    --
    -- 在导出的表使用AUTO_INCREMENT
    --
    
    --
    -- 使用表AUTO_INCREMENT `eb_store_category`
    --
    ALTER TABLE `eb_store_category`
      MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '商品分类表ID';
    COMMIT;
    
    
    
    --
    -- 表的结构 `eb_store_category`
    --
    
    DROP TABLE IF EXISTS `eb_store_category`;
    CREATE TABLE IF NOT EXISTS `eb_store_category` (
      `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '商品分类表ID',
      `pid` int(11) NOT NULL DEFAULT '0' COMMENT '父id',
      `cate_name` varchar(100) NOT NULL DEFAULT '' COMMENT '分类名称',
      `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
      `pic` varchar(128) NOT NULL DEFAULT '' COMMENT '图标',
      `is_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否推荐',
      `add_time` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
      `big_pic` varchar(255) NOT NULL DEFAULT '' COMMENT '分类大图',
      PRIMARY KEY (`id`) USING BTREE,
      KEY `pid` (`pid`) USING BTREE,
      KEY `is_base` (`is_show`) USING BTREE,
      KEY `sort` (`sort`) USING BTREE,
      KEY `add_time` (`add_time`) USING BTREE
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商品分类表';
    
  • 相关阅读:
    git add后 有的文件后悔 add了还没有commit 怎么办?
    go mod module declares its path as: gtihub.com/xxx-xx but was required as:xx-xx
    mysql 复合索引(联合索引) a b c的使用
    git 的初始化使用
    Mac 安装 mysql5.7
    Go Modules与GOPROXY 配置
    ZWWL的短信详设
    Linux 查看文件权限命令ls -l 输出信息每列所代表的含义
    ubuntu/deepin 下增加 goland 桌面快捷方式 goland.desktop
    go语言的冒泡 选择 快排 二分 算法实现
  • 原文地址:https://www.cnblogs.com/jiqing9006/p/15784460.html
Copyright © 2011-2022 走看看