-- phpMyAdmin SQL Dump -- version 3.3.2deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Nov 17, 2011 at 02:05 PM -- Server version: 5.1.41 -- PHP Version: 5.3.2-1ubuntu4.10 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; /*!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 */; -- -- Database: `wifi_stats` -- -- -------------------------------------------------------- -- -- Table structure for table `day` -- CREATE TABLE IF NOT EXISTS `day` ( `year` smallint(6) NOT NULL DEFAULT '0', `month` tinyint(4) NOT NULL DEFAULT '0', `day` tinyint(4) NOT NULL DEFAULT '0', `weekday` tinyint(4) NOT NULL DEFAULT '0', `uses` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `hour` -- CREATE TABLE IF NOT EXISTS `hour` ( `year` smallint(6) NOT NULL DEFAULT '0', `month` tinyint(4) NOT NULL DEFAULT '0', `day` tinyint(4) NOT NULL DEFAULT '0', `weekday` tinyint(4) NOT NULL DEFAULT '0', `hour` tinyint(4) NOT NULL DEFAULT '0', `uses` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `month` -- CREATE TABLE IF NOT EXISTS `month` ( `year` smallint(6) NOT NULL DEFAULT '0', `month` tinyint(4) NOT NULL DEFAULT '0', `uses` int(11) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -------------------------------------------------------- -- -- Table structure for table `year` -- CREATE TABLE IF NOT EXISTS `year` ( `year` smallint(6) NOT NULL DEFAULT '0', `uses` int(11) DEFAULT NULL, PRIMARY KEY (`year`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;