+% coding: utf-8
+% Copyright 2008 Grégory Burri
+%
+% This file is part of Euphorik.
+%
+% Euphorik 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 3 of the License, or
+% (at your option) any later version.
+%
+% Euphorik 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 Euphorik. If not, see <http://www.gnu.org/licenses/>.
+%
+% @author GBurri
+
+
+% Version de la BD
+-define(VERSION_BD, 3).
+-define(TABLES, [counter, proprietes, minichat, reponse_minichat, user, ip_table, troll]).
+
+
+% Pour générer des id
+-record(counter,
+ {
+ key,
+ value
+ }).
+
+
+% Mémorse toutes les propriétés, entre autre la version des données
+-record(proprietes,
+ {
+ nom,
+ valeur
+ }).
+
+
+% Contient tous les textes que peut envoyer le serveur vers client.
+-record(texte,
+ {
+ id,
+ fr
+ }).
+
+
+% décrit un enregistrement d'un message