-- MySQL dump 10.11
--
-- Host: localhost    Database: _db_calendar
-- ------------------------------------------------------
-- Server version	5.0.51a

/*!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_weather`
--

DROP TABLE IF EXISTS `m_weather`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `m_weather` (
  `id_weather` int(10) unsigned NOT NULL auto_increment,
  `c_kenid` varchar(10) NOT NULL,
  `c_date` datetime NOT NULL,
  `c_fine` decimal(5,1) NOT NULL,
  `c_cloud` decimal(5,1) NOT NULL,
  `c_rain` decimal(5,1) NOT NULL,
  `c_snow` decimal(5,1) NOT NULL,
  `c_rainLev` decimal(5,1) NOT NULL,
  `c_tempAve` decimal(5,1) NOT NULL,
  `c_tempMax` decimal(5,1) NOT NULL,
  `c_tempMin` decimal(5,1) NOT NULL,
  PRIMARY KEY  USING BTREE (`id_weather`),
  INDEX ken_date (c_kenid, c_date)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
SET character_set_client = @saved_cs_client;

--
-- Table structure for table `r_kenmei`
--

DROP TABLE IF EXISTS `r_kenmei`;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
CREATE TABLE `r_kenmei` (
  `c_kenid` varchar(10) NOT NULL,
  `c_kenmei` varchar(20) NOT NULL,
  `c_area` varchar(20) NOT NULL,
  PRIMARY KEY  USING BTREE (`c_kenid`),
  KEY `c_kenmei` (`c_kenmei`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
SET character_set_client = @saved_cs_client;

