• 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='商品分类表';
    
  • 相关阅读:
    4500 小Q系列故事——屌丝的逆袭
    HDU 1171 Big Event in HDU
    linux库文件 /usr/lib
    HDU 1860 统计字符
    编程之美~~传话游戏
    HDU 1087 Super Jumping! Jumping! Jumping!
    HDU 1203 I NEED A OFFER!
    各种树
    HDU 3127 WHUgirls
    01背包 完全背包 多重背包 二维费用背包
  • 原文地址:https://www.cnblogs.com/jiqing9006/p/15784460.html
Copyright © 2020-2023  润新知