-- MySQL dump 10.13  Distrib 5.1.33, for Win32 (ia32)
--
-- Host: localhost    Database: _db_rss
-- ------------------------------------------------------
-- Server version	5.1.33-community

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `m_category`
--

DROP TABLE IF EXISTS `m_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `m_category` (
  `id_account` int(10) unsigned NOT NULL,
  `id_category` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `c_categoryName` varchar(50) NOT NULL,
  `c_categoryDisplayColumn` int(10) unsigned NOT NULL,
  `c_categoryDisplayOrder` int(10) unsigned NOT NULL,
  `c_categoryDisplayColor` varchar(50) NOT NULL,
  `c_article_cnt` int(10) unsigned NOT NULL DEFAULT '5',
  `c_registtime` datetime NOT NULL,
  `c_updatetime` datetime NOT NULL,
  `c_delete` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id_category`) USING BTREE
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `m_category`
--

LOCK TABLES `m_category` WRITE;
/*!40000 ALTER TABLE `m_category` DISABLE KEYS */;
INSERT INTO `m_category` VALUES (10001,1,'ニュース',1,1,'Cadetblue',5,'2009-03-05 19:10:53','2009-03-05 19:26:40',0),(10001,2,'IT・コンピュータ',1,2,'Darkcyan',5,'2009-03-05 19:10:53','2009-03-05 19:26:40',0),(10001,3,'エンタメ・音楽',0,3,'',5,'2009-03-05 19:36:43','2009-03-07 07:56:05',0),(10001,4,'英会話',0,10,'',10,'2009-03-05 19:57:53','2013-08-23 18:01:23',0),(10001,6,'旅行',0,4,'',5,'2009-03-05 20:27:41','2013-08-23 18:01:23',0),(10001,9,'NAVERまとめ',0,5,'',10,'2013-08-23 18:02:27','2013-08-23 18:02:27',0);
/*!40000 ALTER TABLE `m_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `m_rss`
--

DROP TABLE IF EXISTS `m_rss`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `m_rss` (
  `id_rss` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `id_account` int(10) unsigned NOT NULL,
  `id_category` int(10) unsigned NOT NULL,
  `c_title` varchar(255) NOT NULL,
  `c_home_url` varchar(500) NOT NULL,
  `c_rss_url` varchar(500) NOT NULL,
  `c_displayOrder` int(10) unsigned NOT NULL,
  `c_displayColor` varchar(50) NOT NULL,
  `c_registtime` datetime NOT NULL,
  `c_updatetime` datetime NOT NULL,
  `c_delete` int(10) unsigned NOT NULL,
  `c_privacy` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id_rss`)
) ENGINE=MyISAM AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `m_rss`
--

LOCK TABLES `m_rss` WRITE;
/*!40000 ALTER TABLE `m_rss` DISABLE KEYS */;
INSERT INTO `m_rss` VALUES (1,10001,1,'NHK','http://www.nhk.or.jp/','http://www3.nhk.or.jp/rss/news/cat0.xml',110,'Forestgreen','2009-03-05 19:25:08','2009-07-31 19:28:46',0,0),(2,10001,1,'アメーバ News','http://news.ameba.jp/','http://news.ameba.jp/index.xml',120,'Dodgerblue','2009-03-05 19:25:08','2009-07-31 19:28:46',0,0),(3,10001,2,'ITmedia','http://www.itmedia.co.jp/news/','http://rss.rssad.jp/rss/itmnews/2.0/news_bursts.xml',0,'Crimson','2009-03-05 21:12:08','2009-03-06 19:52:27',0,0),(8,10001,2,'CREAMU','http://blog.creamu.com/mt/','http://blog.creamu.com/mt/atom.xml',0,'Royalblue','2009-03-06 19:58:16','2009-03-06 19:58:16',0,0),(9,10001,2,'IDEA*IDEA','http://www.ideaxidea.com/','http://www.ideaxidea.com/feed',0,'Deeppink','2009-03-06 19:59:32','2009-03-06 19:59:32',0,0),(10,10001,2,'コリス','http://coliss.com/','http://feeds.feedburner.com/coliss',0,'Seagreen','2009-03-06 20:00:27','2012-07-28 10:11:13',0,0),(11,10001,2,'二十歳街道まっしぐら','http://tokuna.blog40.fc2.com/','http://tokuna.blog40.fc2.com/?xml',0,'Darkcyan','2009-03-06 20:01:40','2009-03-06 20:01:40',0,0),(12,10001,2,'百式','http://www.100shiki.com/','http://www.100shiki.com/feed',0,'DarkSlategray','2009-03-06 20:02:37','2009-03-06 20:02:37',0,0),(13,10001,1,'Yahoo! News','http://headlines.yahoo.co.jp/hl','http://dailynews.yahoo.co.jp/fc/rss.xml',20,'Red','2009-03-06 21:16:00','2009-07-31 19:27:40',0,0),(15,10001,3,'マイコミ エンタテイメント','http://journal.mycom.co.jp/entertainment/index.html','http://feeds.journal.mycom.co.jp/haishin/rss/entertainment',120,'Deepskyblue','2009-03-06 21:30:16','2009-03-07 07:58:16',0,0),(17,10001,3,'Yahoo! エンタメ','http://dailynews.yahoo.co.jp/fc/entertainment/','http://dailynews.yahoo.co.jp/fc/entertainment/rss.xml',110,'Lightseagreen','2009-03-07 07:58:16','2009-03-07 07:58:16',0,0),(20,10001,1,'朝日新聞','http://www.asahi.com/','http://rss.asahi.com/f/asahi_newsheadlines',30,'FireBrick','2009-03-10 20:09:31','2009-07-31 19:27:40',0,0),(21,10001,1,'goo ランキング','http://ranking.goo.ne.jp/','http://ranking.goo.ne.jp/rss/index.rdf',0,'Orange','2009-03-10 20:20:57','2013-06-21 17:41:20',0,0),(24,10001,1,'イザ！','http://www.iza.ne.jp/news/natnews/','http://rss.rssad.jp/rss/iza/natnews',130,'Darkturquoise','2009-03-10 20:28:56','2012-07-28 10:12:23',0,0),(25,10001,6,'JAL','http://www.jal.co.jp/','http://rss.jal.co.jp/f6513/index.rdf',0,'Red','2009-03-10 20:39:32','2009-03-10 20:39:32',0,0),(26,10001,6,'フォートラベル','http://4travel.jp/','http://4travel.jp/rdf/travelogue_all_new.xml',0,'Royalblue','2009-03-10 20:41:12','2009-03-10 20:41:12',0,0),(27,10001,2,'@IT','http://www.atmarkit.co.jp/','http://rss.rssad.jp/rss/itmatmarkit/rss2dc.xml',0,'Blueviolet','2009-03-11 19:37:26','2009-03-11 19:37:26',0,0),(28,10001,2,'PHPSPOT開発日誌','http://phpspot.org/blog/','http://feedproxy.google.com/phpspot/ccuf',0,'Mediumseagreen','2009-03-11 19:37:26','2009-03-11 19:37:26',0,0),(29,10001,2,'CodeZine','http://codezine.jp/','http://rss.rssad.jp/rss/codezine/new/20/index.xml',0,'Orangered','2009-03-11 19:40:16','2009-03-11 19:40:16',0,0),(34,10001,1,'Google','http://news.google.com/','http://news.google.com/news?hl=ja&ned=us&ie=UTF-8&oe=UTF-8&output=rss&topic=h',10,'Darkturquoise','2009-07-31 19:27:40','2009-07-31 19:27:40',0,0),(35,10001,4,'ニュースで英会話','http://gogakuru.com/english/on_air/%E3%83%8B%E3%83%A5%E3%83%BC%E3%82%B9%E3%81%A7%E8%8B%B1%E4%BC%9A%E8%A9%B1.html','http://gogakuru.com/rss/program_156_feed.xml',10,'#3CB371','2013-06-21 17:43:12','2013-06-21 17:47:09',0,0),(36,10001,4,'全新着フレーズ','http://gogakuru.com/index.html','http://gogakuru.com/rss/new_en_phrase_feed.xml',0,'#1E90FF','2013-06-21 17:43:12','2013-06-21 17:47:21',0,0),(37,10001,4,'英語ものしり倶楽部','http://gogakuru.com/english/on_air/%E8%8B%B1%E8%AA%9E%E3%82%82%E3%81%AE%E3%81%97%E3%82%8A%E5%80%B6%E6%A5%BD%E9%83%A8.html','http://gogakuru.com/rss/program_14_feed.xml',20,'#FF8C00','2013-06-21 17:43:12','2013-06-21 17:47:09',0,0),(38,10001,9,'総合まとめ','http://matome.naver.jp/','http://matome.naver.jp/feed/hot',1,'#3CB371','2013-08-23 18:04:02','2013-08-23 18:04:02',0,0),(39,10001,9,'定番まとめ','http://matome.naver.jp/popular','http://matome.naver.jp/feed/popular',2,'#3CB371','2013-08-23 18:04:02','2013-08-23 18:04:02',0,0),(40,10001,9,'おもしろ','http://matome.naver.jp/humor','http://matome.naver.jp/feed/humor',3,'#3CB371','2013-08-23 18:04:02','2013-08-23 18:04:02',0,0),(41,10001,9,'雑学','http://matome.naver.jp/trivia','http://matome.naver.jp/feed/trivia',4,'#3CB371','2013-08-23 18:04:02','2013-08-23 18:04:02',0,0),(42,10001,9,'ガールズ','http://matome.naver.jp/girls','http://matome.naver.jp/feed/girls',5,'#3CB371','2013-08-23 18:04:02','2013-08-23 18:04:02',0,0);
/*!40000 ALTER TABLE `m_rss` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Temporary table structure for view `v_rss`
--

DROP TABLE IF EXISTS `v_rss`;
/*!50001 DROP VIEW IF EXISTS `v_rss`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `v_rss` (
  `id_rss` int(10) unsigned,
  `id_account` int(10) unsigned,
  `id_category` int(10) unsigned,
  `c_categoryName` varchar(50),
  `c_categoryDisplayOrder` int(10) unsigned,
  `c_title` varchar(255),
  `c_home_url` varchar(500),
  `c_rss_url` varchar(500),
  `c_displayOrder` int(10) unsigned,
  `c_displayColor` varchar(50),
  `c_delete` int(10) unsigned,
  `c_privacy` int(10) unsigned,
  `c_article_cnt` int(10) unsigned
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Final view structure for view `v_rss`
--

/*!50001 DROP TABLE `v_rss`*/;
/*!50001 DROP VIEW IF EXISTS `v_rss`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = latin1 */;
/*!50001 SET character_set_results     = latin1 */;
/*!50001 SET collation_connection      = latin1_swedish_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `v_rss` AS select `m_rss`.`id_rss` AS `id_rss`,`m_rss`.`id_account` AS `id_account`,`m_rss`.`id_category` AS `id_category`,`m_category`.`c_categoryName` AS `c_categoryName`,`m_category`.`c_categoryDisplayOrder` AS `c_categoryDisplayOrder`,`m_rss`.`c_title` AS `c_title`,`m_rss`.`c_home_url` AS `c_home_url`,`m_rss`.`c_rss_url` AS `c_rss_url`,`m_rss`.`c_displayOrder` AS `c_displayOrder`,`m_rss`.`c_displayColor` AS `c_displayColor`,`m_rss`.`c_delete` AS `c_delete`,`m_rss`.`c_privacy` AS `c_privacy`,`m_category`.`c_article_cnt` AS `c_article_cnt` from (`m_rss` left join `m_category` on((`m_rss`.`id_category` = `m_category`.`id_category`))) where (`m_rss`.`c_delete` = 0) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2013-11-01  8:02:08
