 -- phpMyAdmin SQL Dump
--- version 4.1.14
+-- version 4.4.9
 -- http://www.phpmyadmin.net
 --
--- Host: 127.0.0.1
--- Erstellungszeit: 17. Aug 2015 um 15:52
--- Server Version: 5.6.17
--- PHP-Version: 5.5.12
+-- Host: localhost:3306
+-- Erstellungszeit: 22. Sep 2015 um 19:27
+-- Server-Version: 5.5.42
+-- PHP-Version: 5.6.10
 
 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
 SET time_zone = "+00:00";
-
-
-/*!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 */;
 
 --
 -- Datenbank: `fs20`

-- Tabellenstruktur für Tabelle `room`
--

CREATE TABLE IF NOT EXISTS `room` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` text NOT NULL,
  `room_code_1` smallint(6) NOT NULL,
  `room_code_2` smallint(6) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

--
-- Daten für Tabelle `room`
--

INSERT INTO `room` (`id`, `name`, `room_code_1`, `room_code_2`) VALUES
(1, 'Zuhause', 1111, 1111);

/*!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 */;


INSERT INTO `device` (`id`, `room_id`, `name`, `device_code`) VALUES
(1, 1, 'Licht', 1121),
(2, 1, 'Ventilator', 1122),
(5, 1, '<dlfasld', 1111);

-- --------------------------------------------------------

