-% Copyright 2008 Grégory Burri\r
-%\r
-% This file is part of Euphorik.\r
-%\r
-% Euphorik is free software: you can redistribute it and/or modify\r
-% it under the terms of the GNU General Public License as published by\r
-% the Free Software Foundation, either version 3 of the License, or\r
-% (at your option) any later version.\r
-%\r
-% Euphorik is distributed in the hope that it will be useful,\r
-% but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
-% GNU General Public License for more details.\r
-%\r
-% You should have received a copy of the GNU General Public License\r
-% along with Euphorik. If not, see <http://www.gnu.org/licenses/>.\r
-%\r
-% @author GBurri\r
-
-
-% Pour générer des id\r
--record(counter,\r
- {\r
- key,\r
- value\r
- }).\r
- \r
-\r
-% décrit un enregistrement d'un message\r
+% 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