cjvs

homewizard.sql

Jul 1st, 2014
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 1.74 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.1.13
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Machine: localhost
  6. -- Gegenereerd op: 02 jul 2014 om 04:09
  7. -- Serverversie: 5.1.36
  8. -- PHP-versie: 5.3.26
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13.  
  14. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  15. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  16. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  17. /*!40101 SET NAMES utf8 */;
  18.  
  19. --
  20. -- Databank: `homewizard`
  21. --
  22. CREATE DATABASE IF NOT EXISTS `homewizard` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
  23. USE `homewizard`;
  24.  
  25. -- --------------------------------------------------------
  26.  
  27. --
  28. -- Tabelstructuur voor tabel `EnergyLinkDay`
  29. --
  30.  
  31. DROP TABLE IF EXISTS `EnergyLinkDay`;
  32. CREATE TABLE IF NOT EXISTS `EnergyLinkDay` (
  33.   `id` INT(11) NOT NULL,
  34.   `name` text NOT NULL,
  35.   `t` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  36.   `u` INT(11) NOT NULL,
  37.   `a` INT(11) NOT NULL,
  38.   `s1` INT(11) NOT NULL,
  39.   `s2` INT(11) NOT NULL,
  40.   `g` DECIMAL(5,2) NOT NULL
  41. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  42.  
  43. -- --------------------------------------------------------
  44.  
  45. --
  46. -- Tabelstructuur voor tabel `Thermometers`
  47. --
  48.  
  49. DROP TABLE IF EXISTS `Thermometers`;
  50. CREATE TABLE IF NOT EXISTS `Thermometers` (
  51.   `id` INT(11) NOT NULL,
  52.   `name` text NOT NULL,
  53.   `time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  54.   `te` DECIMAL(5,1) NOT NULL,
  55.   `hu` INT(11) NOT NULL
  56. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  57.  
  58. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  59. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  60. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Advertisement
Add Comment
Please, Sign In to add comment