on n'utilise plus le champ pgp = boss mais on ajoute un champ boss => oui
This commit is contained in:
parent
964f4ed99f
commit
2270d65f55
3 changed files with 4 additions and 3 deletions
|
@ -27,7 +27,7 @@ function auted_upgrade($nom_meta_base_version, $version_cible) {
|
||||||
$maj = array();
|
$maj = array();
|
||||||
|
|
||||||
$maj['create'] = array(array('maj_tables', array('spip_aut_modeles','spip_auteurs')));
|
$maj['create'] = array(array('maj_tables', array('spip_aut_modeles','spip_auteurs')));
|
||||||
$maj['1.0.4'] = array(array('maj_tables', array('spip_aut_modeles','spip_auteurs')));
|
$maj['1.0.5'] = array(array('maj_tables', array('spip_aut_modeles','spip_auteurs')));
|
||||||
|
|
||||||
include_spip('base/upgrade');
|
include_spip('base/upgrade');
|
||||||
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
||||||
|
|
|
@ -94,6 +94,7 @@ function auted_declarer_tables_principales($tables_principales){
|
||||||
|
|
||||||
$tables_principales['spip_auteurs']['field']['autorisations'] = "text NOT NULL";
|
$tables_principales['spip_auteurs']['field']['autorisations'] = "text NOT NULL";
|
||||||
$tables_principales['spip_auteurs']['field']['aut_nom'] = "text NOT NULL";
|
$tables_principales['spip_auteurs']['field']['aut_nom'] = "text NOT NULL";
|
||||||
|
$tables_principales['spip_auteurs']['field']['boss'] = "varchar(20) NOT NULL";
|
||||||
|
|
||||||
return $tables_principales;
|
return $tables_principales;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<paquet
|
<paquet
|
||||||
prefix="auted"
|
prefix="auted"
|
||||||
categorie="outil"
|
categorie="outil"
|
||||||
version="1.0.4"
|
version="1.0.5"
|
||||||
etat="dev"
|
etat="dev"
|
||||||
compatibilite="[3.2.0-dev;3.3.*]"
|
compatibilite="[3.2.0-dev;3.3.*]"
|
||||||
logo="prive/themes/spip/images/auted-64.png"
|
logo="prive/themes/spip/images/auted-64.png"
|
||||||
documentation=""
|
documentation=""
|
||||||
schema="1.0.4"
|
schema="1.0.5"
|
||||||
>
|
>
|
||||||
<!--
|
<!--
|
||||||
Paquet généré le 2020-02-10 11:18:59
|
Paquet généré le 2020-02-10 11:18:59
|
||||||
|
|
Loading…
Add table
Reference in a new issue