ajout du champ ip
This commit is contained in:
parent
77961b2b1b
commit
c459c59bfc
3 changed files with 19 additions and 18 deletions
|
@ -44,6 +44,7 @@ function gamucontact_declarer_tables_objets_sql($tables) {
|
|||
'statut' => "varchar(6) NOT NULL DEFAULT '0'",
|
||||
'id_auteur' => "bigint(21) NOT NULL DEFAULT '0'",
|
||||
'destinataires' => 'text NOT NULL',
|
||||
'ip' => "varchar(50) NOT NULL DEFAULT '0'",
|
||||
'maj' => 'timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
|
||||
],
|
||||
'key' => array(
|
||||
|
|
|
@ -27,7 +27,7 @@ function gamucontact_upgrade($nom_meta_base_version, $version_cible) {
|
|||
$maj = array();
|
||||
|
||||
$maj['create'] = array(array('maj_tables', array('spip_messages')));
|
||||
$maj['1.0.5'] = array(array('maj_tables', array('spip_messages')));
|
||||
$maj['1.0.6'] = array(array('maj_tables', array('spip_messages')));
|
||||
|
||||
include_spip('base/upgrade');
|
||||
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
compatibilite="[3.2.10;4.1.*]"
|
||||
logo="./gamucontact-xx.svg"
|
||||
documentation=""
|
||||
schema="1.0.5"
|
||||
schema="1.0.6"
|
||||
>
|
||||
<nom>GamuContact</nom>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue