tinyint pour le sujet principal
This commit is contained in:
parent
ba3f6caf38
commit
d48f823c9c
@ -76,7 +76,7 @@ function podcast_declarer_tables_objets_sql($tables) {
|
||||
'id_podcast' => 'bigint(21) NOT NULL DEFAULT 0',
|
||||
'titre' => 'tinytext NOT NULL DEFAULT ""',
|
||||
'nom_identifiant' => 'tinytext NOT NULL DEFAULT ""',
|
||||
'sujet_principal' => 'int(6) NOT NULL DEFAULT 0',
|
||||
'sujet_principal' => 'tinyint(1) NOT NULL DEFAULT 0',
|
||||
'debut' => 'varchar(25) NOT NULL DEFAULT ""',
|
||||
'fin' => 'varchar(25) NOT NULL DEFAULT ""',
|
||||
'maj' => 'TIMESTAMP NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP'
|
||||
|
@ -6,7 +6,7 @@
|
||||
compatibilite="[3.2.8;3.3.*]"
|
||||
logo=""
|
||||
documentation=""
|
||||
schema="1.2.2"
|
||||
schema="1.2.3"
|
||||
>
|
||||
<!--
|
||||
Paquet généré le 2021-02-11 21:25:22
|
||||
|
@ -57,6 +57,7 @@ function podcast_upgrade($nom_meta_base_version, $version_cible) {
|
||||
$maj['1.2.0'] = array(array('maj_tables', array('spip_podcasts,spip_chapitres')));
|
||||
$maj['1.2.1'] = array(array('maj_tables', array('spip_podcasts')));
|
||||
$maj['1.2.2'] = array(array('maj_tables', array('spip_podcasts')));
|
||||
$maj['1.2.3'] = array(array('maj_tables', array('spip_chapitres')));
|
||||
|
||||
include_spip('base/upgrade');
|
||||
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
||||
|
Loading…
Reference in New Issue
Block a user