correction de la déclaration du nouveau champ "role"
This commit is contained in:
parent
d3f0f337da
commit
3b44143a8a
3 changed files with 4 additions and 9 deletions
|
@ -32,7 +32,7 @@ function balint_upgrade($nom_meta_base_version, $version_cible) {
|
|||
array('config_prive')
|
||||
);
|
||||
|
||||
$maj['1.0.12'] = array(
|
||||
$maj['1.0.13'] = array(
|
||||
array('maj_tables', array('spip_articles','spip_auteurs_liens')),
|
||||
array('config_prive')
|
||||
);
|
||||
|
|
|
@ -5,6 +5,8 @@ if (!defined('_ECRIRE_INC_VERSION')) return;
|
|||
|
||||
function balint_declarer_tables_principales($tables_principales){
|
||||
|
||||
$tables_principales['spip_auteurs_liens']['field']['role'] = "text DEFAULT '' NOT NULL";
|
||||
|
||||
/*
|
||||
$tables_principales['spip_articles']['field']['surface'] = "text DEFAULT '' NOT NULL"; //duree
|
||||
$tables_principales['spip_articles']['field']['surface_parking'] = "text DEFAULT '' NOT NULL"; //date_pv
|
||||
|
@ -16,13 +18,6 @@ function balint_declarer_tables_principales($tables_principales){
|
|||
return $tables_principales;
|
||||
}
|
||||
|
||||
function balint_declarer_tables_auxiliaires($tables_auxiliaires){
|
||||
|
||||
$tables_auxiliaires['spip_auteurs_liens']['field']['role'] = "text DEFAULT '' NOT NULL";
|
||||
|
||||
return $tables_auxiliaires;
|
||||
}
|
||||
|
||||
function balint_declarer_champs_extras($champs = array()) {
|
||||
$champs['spip_groupes_mots']['grigri'] = array(
|
||||
'saisie' => 'input',//Type du champ (voir plugin Saisies)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
compatibilite="[3.1.7;3.3.*]"
|
||||
logo="img/fede_64.jpg"
|
||||
documentation=""
|
||||
schema="1.0.12"
|
||||
schema="1.0.13"
|
||||
>
|
||||
|
||||
<nom>Squelette Fédé</nom>
|
||||
|
|
Loading…
Add table
Reference in a new issue