mail[Galette-devel] [bug #18390] Galette v0.7dev - Upgrade d'une 0.64RC2 vers une v0.7dev (blocage)


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Roland Telle on July 21, 2011 - 00:08:

Follow-up Comment #2, bug #18390 (project galette):

Le problème se trouve dans le fichier upgrade-to-0.7-mysql lignes 84 et 85
:
"-- that field was created in 0.63 under postgres... not mysql :(
ALTER TABLE `galette_adherents` ADD `lieu_naissance` `lieu_naissance`
VARCHAR( 50 ) NULL DEFAULT NULL;"

car le champ lieu_naissance existe bel et bien dans la 0.64RC2 (mysql).

Il faut donc remplacer ADD par CHANGE mais *surtout* envisager une mise à
jour spéciale à partir de la 0.64.

La correction ci-dessus faite, deux autres erreurs apparaissent :

"ALTER TABLE `galette_dynamic_fields` ...MDB2 Error: unknown error
(_doQuery: [Error message: Could not execute statement] [Last executed query:
ALTER TABLE `galette_dynamic_fields` ADD PRIMARY KEY ( `item_id` , `field_id`
, `field_form` , `val_index` )] [Native code: 1068] [Native message: Multiple
primary key defined] )
ALTER TABLE `galette_l10n` ...MDB2 Error: not found
(_doQuery: [Error message: Could not execute statement] [Last executed query:
ALTER TABLE `galette_l10n` DROP INDEX `text_orig`, ADD PRIMARY KEY
(`text_orig` (30), `text_locale` (5))] [Native code: 1091] [Native message:
Can't DROP 'text_orig'; check that column/key exists] )

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18390>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Thu Jul 21 23:40:05 2011