Browse Source

tinyint pour le sujet principal

master
chankalan 6 months ago
parent
commit
d48f823c9c
  1. 2
      base/podcast.php
  2. 2
      paquet.xml
  3. 1
      podcast_administrations.php

2
base/podcast.php

@ -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'

2
paquet.xml

@ -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

1
podcast_administrations.php

@ -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…
Cancel
Save