ajout du champ rang
This commit is contained in:
parent
a07ba38516
commit
2b7654c330
3 changed files with 5 additions and 2 deletions
|
@ -56,7 +56,8 @@ function gamumail_declarer_tables_objets_sql($tables) {
|
|||
'statut' => 'varchar(20) DEFAULT "0" NOT NULL',
|
||||
'public' => 'varchar(20) DEFAULT "oui" NOT NULL',
|
||||
'editable' => 'varchar(5) DEFAULT "oui" NOT NULL',
|
||||
'maj' => 'TIMESTAMP'
|
||||
'maj' => 'TIMESTAMP',
|
||||
'rang' => 'smallint(6) NOT NULL'
|
||||
),
|
||||
'key' => array(
|
||||
'PRIMARY KEY' => 'id_gamumail',
|
||||
|
|
|
@ -36,6 +36,8 @@ function gamumail_upgrade($nom_meta_base_version, $version_cible) {
|
|||
$maj['1.0.11'] = array( array('maj_tables', array('spip_gamumails')));
|
||||
$maj['1.0.12'] = array(array('creer_compte_curl'));
|
||||
$maj['1.0.14'] = array(array('maj_tables', array('spip_gamumails')));
|
||||
$maj['1.0.15'] = array(array('maj_tables', array('spip_gamumails')));
|
||||
|
||||
|
||||
include_spip('base/upgrade');
|
||||
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
compatibilite="[3.2.0;4.0.*]"
|
||||
logo="prive/themes/spip/images/gamumail-64.png"
|
||||
documentation=""
|
||||
schema="1.0.14"
|
||||
schema="1.0.15"
|
||||
>
|
||||
|
||||
<nom>GamuMail</nom>
|
||||
|
|
Loading…
Add table
Reference in a new issue