projects
/
mw_sourceml
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
menu source pour deriver et editer
[mw_sourceml]
/
mw_sourceml.php
diff --git
a/mw_sourceml.php
b/mw_sourceml.php
index
2c7cc5b
..
731639f
100644
(file)
--- a/
mw_sourceml.php
+++ b/
mw_sourceml.php
@@
-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_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";
}
catch(Exception $e){
return "impossible de savoir si les tables existent deja";
@@
-208,6
+209,7
@@
." `id_source` INT(11) NOT NULL,"
." `id_author` INT(11) NOT NULL,"
." `id_sources_access` INT(11) NOT NULL,"
." `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);
." PRIMARY KEY (`id`)"
.")";
$sgbd->query($sql);