ajout date_invitation, corrections template
[mw_sourceml] / mw_sourceml.php
index 2c7cc5b..731639f 100644 (file)
@@ -66,7 +66,8 @@
         ||  $sgbd->table_exists("#--sml_source_cache")
         ||  $sgbd->table_exists("#--sml_source_compositions")
         ||  $sgbd->table_exists("#--sml_source_derivations")
-        ||  $sgbd->table_exists("#--sml_source_documents");
+        ||  $sgbd->table_exists("#--sml_source_documents")
+        ||  $sgbd->table_exists("#--sml_sources_invitations");
       }
       catch(Exception $e){
         return "impossible de savoir si les tables existent deja";
         ."  `id_source` INT(11) NOT NULL,"
         ."  `id_author` INT(11) NOT NULL,"
         ."  `id_sources_access` INT(11) NOT NULL,"
+        ."  `date_invitation` datetime NOT NULL,"
         ."  PRIMARY KEY (`id`)"
         .")";
         $sgbd->query($sql);