54 lines
1.4 KiB
SQL
54 lines
1.4 KiB
SQL
-- phpMyAdmin SQL Dump
|
|
-- version 4.7.9
|
|
-- https://www.phpmyadmin.net/
|
|
--
|
|
-- Hôte : 127.0.0.1:3306
|
|
-- Généré le : jeu. 31 mai 2018 à 09:01
|
|
-- Version du serveur : 5.7.21
|
|
-- Version de PHP : 5.6.35
|
|
|
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
SET AUTOCOMMIT = 0;
|
|
START TRANSACTION;
|
|
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 utf8mb4 */;
|
|
|
|
--
|
|
-- Base de données : `captbdd`
|
|
--
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Structure de la table `capteurs`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `capteurs`;
|
|
CREATE TABLE IF NOT EXISTS `capteurs` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`lux` float NOT NULL,
|
|
`vent` float NOT NULL,
|
|
`A/M` tinyint(1) NOT NULL,
|
|
`eInt` tinyint(1) NOT NULL,
|
|
`eExt` tinyint(1) NOT NULL,
|
|
`Store` tinyint(1) NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
|
|
|
|
--
|
|
-- Déchargement des données de la table `capteurs`
|
|
--
|
|
|
|
INSERT INTO `capteurs` (`id`, `lux`, `vent`, `A/M`, `eInt`, `eExt`, `Store`) VALUES
|
|
(1, 4321, 2, 0, 0, 0, 0);
|
|
COMMIT;
|
|
|
|
/*!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 */;
|