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='商品分类表';
    
  • 相关阅读:
    Dll版本管理
    线程池ThreadPool
    关于sitemesh和freemark在struts2中的一些问题总结
    Google 怎么搜索
    android 设计模式
    android webview
    ios 基础数据类型
    android 常用
    android Handler vs Timer
    网站
  • 原文地址:https://www.cnblogs.com/jiqing9006/p/15784460.html
Copyright © 2011-2022 走看看