   UNIQUE KEY `login_name` (`login_name`),
   KEY `email` (`email`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='后台用户表';
-/*!40101 SET character_set_client = @saved_cs_client */;
 
---
--- Dumping data for table `br_admin`
---
 
-LOCK TABLES `br_admin` WRITE;
-/*!40000 ALTER TABLE `br_admin` DISABLE KEYS */;
-INSERT INTO `br_admin` VALUES (1400638807349600,'admin','141bd81b79e386a109bd5aeea7476805a3ce17ea','swL(','mike05@qq.com',2,'','',0,3,'',1400638807,'',1400638807,'N/A');
-/*!40000 ALTER TABLE `br_admin` ENABLE KEYS */;
-UNLOCK TABLES;
 
---
--- Table structure for table `br_article`
---
 
 DROP TABLE IF EXISTS `br_article`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
 CREATE TABLE `br_article` (
   `id` bigint(16) unsigned NOT NULL,
   `category_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '文章分类ID',

  CONSTRAINT `br_article_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `br_category` (`cid`) ON UPDATE CASCADE,
  CONSTRAINT `br_article_ibfk_2` FOREIGN KEY (`author_id`) REFERENCES `br_admin` (`aid`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `br_article`
--

LOCK TABLES `br_article` WRITE;
/*!40000 ALTER TABLE `br_article` DISABLE KEYS */;
INSERT INTO `br_article` VALUES (1400661639588371,1400659988559299,'这是一篇测试的文章',1400638807349600,12212133,0,'wewerewwrerewrewrewre',0,'1212132231 121233232',0,0);
/*!40000 ALTER TABLE `br_article` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `br_brand`
--

DROP TABLE IF EXISTS `br_brand`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `br_brand` (
  `bid` bigint(16) unsigned NOT NULL DEFAULT '0' COMMENT '品牌ID',
  `brand_name` varchar(256) NOT NULL DEFAULT '' COMMENT '品牌名',
  `big_logo` varchar(128) NOT NULL DEFAULT '' COMMENT '大logo图的路径',
  `small_logo` varchar(128) NOT NULL DEFAULT '' COMMENT '小logo图的路径',
  PRIMARY KEY (`bid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='产品品牌表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `br_brand`
--

LOCK TABLES `br_brand` WRITE;
/*!40000 ALTER TABLE `br_brand` DISABLE KEYS */;
/*!40000 ALTER TABLE `br_brand` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `br_category`
--

DROP TABLE IF EXISTS `br_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `br_category` (
  `cid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '文章分类ID',
  `name` varchar(30) NOT NULL DEFAULT '',

  PRIMARY KEY (`cid`),
  KEY `issingle` (`issingle`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章分类表';




DROP TABLE IF EXISTS `br_classify`;
CREATE TABLE `br_classify` (
  `cid` bigint(16) unsigned NOT NULL DEFAULT '0' COMMENT '分类ID',
  `classify_name` varchar(256) NOT NULL DEFAULT '' COMMENT '分类名',
  PRIMARY KEY (`cid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='产品分类表';




DROP TABLE IF EXISTS `br_lookup`;
CREATE TABLE `br_lookup` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
