From 8a4931694209807f10c0dd81cab6c05b5ea86eeb Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Sat, 4 Feb 2017 12:55:20 +0000
Subject: [PATCH] =?UTF-8?q?Augmentation=20de=20la=20taille=20du=20champ=20?=
 =?UTF-8?q?'prefs'=20de=20spip=5Fauteurs,=20afin=20d'=C3=A9viter=20d'?=
 =?UTF-8?q?=C3=A9ventuels=20probl=C3=A8mes=20sur=20la=20s=C3=A9rialisation?=
 =?UTF-8?q?=20des=20contenus=20qu'il=20re=C3=A7oit.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/base/objets.php  | 2 +-
 ecrire/inc_version.php  | 2 +-
 ecrire/maj/svn10000.php | 4 ++++
 ecrire/paquet.xml       | 4 ++--
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/ecrire/base/objets.php b/ecrire/base/objets.php
index d4b966226a..908a8edbaf 100644
--- a/ecrire/base/objets.php
+++ b/ecrire/base/objets.php
@@ -240,7 +240,7 @@ function lister_tables_objets_sql($table_sql = null, $desc = array()) {
 					'en_ligne' => "datetime DEFAULT '0000-00-00 00:00:00' NOT NULL",
 					'alea_actuel' => 'tinytext',
 					'alea_futur' => 'tinytext',
-					'prefs' => 'tinytext',
+					'prefs' => 'text',
 					'cookie_oubli' => 'tinytext',
 					'source' => "VARCHAR(10) DEFAULT 'spip' NOT NULL",
 					'lang' => "VARCHAR(10) DEFAULT '' NOT NULL"
diff --git a/ecrire/inc_version.php b/ecrire/inc_version.php
index fbd829cec3..11452e1249 100644
--- a/ecrire/inc_version.php
+++ b/ecrire/inc_version.php
@@ -372,7 +372,7 @@ define('_DEV_VERSION_SPIP_COMPAT',"3.1.3");
 // (= numero SVN de leur derniere modif cassant la compatibilite et/ou necessitant un recalcul des squelettes)
 $spip_version_code = 22653;
 // version de la base SQL (= numero SVN de sa derniere modif)
-$spip_version_base = 21742;
+$spip_version_base = 23375;
 
 // version de l'interface a la base
 $spip_sql_version = 1;
diff --git a/ecrire/maj/svn10000.php b/ecrire/maj/svn10000.php
index 89e5e6b65f..27d15ea695 100644
--- a/ecrire/maj/svn10000.php
+++ b/ecrire/maj/svn10000.php
@@ -700,3 +700,7 @@ $GLOBALS['maj'][21742] = array(
 	array('sql_alter', "TABLE spip_articles CHANGE url_site url_site text DEFAULT '' NOT NULL"),
 	array('sql_alter', "TABLE spip_articles CHANGE virtuel virtuel text DEFAULT '' NOT NULL"),
 );
+
+$GLOBALS['maj'][23375] = array(
+	array('sql_alter', "TABLE spip_auteurs CHANGE prefs prefs text"),
+);
diff --git a/ecrire/paquet.xml b/ecrire/paquet.xml
index 0b4615fe1c..714f372bbc 100644
--- a/ecrire/paquet.xml
+++ b/ecrire/paquet.xml
@@ -4,11 +4,11 @@
 	version="3.2.0-dev"
 	etat="dev"
 	compatibilite="];["
-	schema="21742"
+	schema="23375"
 	documentation="http://www.spip.net"
 	demonstration="http://demo.spip.net"
 	developpement="http://core.spip.net/projects/spip/"
->	
+>
 
 	<nom>SPIP</nom>
 	<!-- Système de publication pour l'Internet -->
-- 
GitLab