From 5ea6fcc563184feb13aa738180e966345ea38935 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 22 Jul 2005 12:52:19 +0000 Subject: [PATCH] Nouveau fichier --- mysql/tables/llx_energie_compteur.sql | 32 +++++++++++++++++++ mysql/tables/llx_energie_compteur_releve.sql | 33 ++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 mysql/tables/llx_energie_compteur.sql create mode 100644 mysql/tables/llx_energie_compteur_releve.sql diff --git a/mysql/tables/llx_energie_compteur.sql b/mysql/tables/llx_energie_compteur.sql new file mode 100644 index 00000000000..f716762d6e4 --- /dev/null +++ b/mysql/tables/llx_energie_compteur.sql @@ -0,0 +1,32 @@ +-- =================================================================== +-- Copyright (C) 2005 Rodolphe Quiedeville +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-- +-- $Id$ +-- $Source$ +-- +-- =================================================================== + +create table llx_energie_compteur +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + libelle varchar(50), + fk_energie integer NOT NULL, + datec datetime, + fk_user_author integer NOT NULL, + + note text +)type=innodb; diff --git a/mysql/tables/llx_energie_compteur_releve.sql b/mysql/tables/llx_energie_compteur_releve.sql new file mode 100644 index 00000000000..0c43d54d91e --- /dev/null +++ b/mysql/tables/llx_energie_compteur_releve.sql @@ -0,0 +1,33 @@ +-- =================================================================== +-- Copyright (C) 2005 Rodolphe Quiedeville +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-- +-- $Id$ +-- $Source$ +-- +-- =================================================================== + +create table llx_energie_compteur_releve +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + fk_compteur integer NOT NULL, + date_releve datetime, + valeur real, + datec datetime, + fk_user_author integer NOT NULL, + + note text +)type=innodb;