[isf-wifidog] [Fwd: login error]

Benoit Grégoire bock at step.polymtl.ca
Ven 1 Avr 11:50:50 EST 2005

On Friday 01 April 2005 11:29, kaouete wrote:
> About schema changes, i think you can look at the way phorum.org upgrade
> their schema :
> they have the date of the last schema in one of the php file (like your
> tag schema_version)
> a directory with upgrade for each version( 1->2 2->3 3->4 etc .. . )
> and a script that check the current schema version, the last one to
> apply, and it apply all the script in the upgrade directory between
> these two.
> It works really good like that in their cvs, it can be a way to do
> this :)

This is exactly what we do, except that we don't use files to do it, so that 
we can use PHP to make changes (such as changing the type of a column) that 
are not directly supported by sql while preserving the data.

Benoit Grégoire, http://benoitg.coeus.ca/
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: non disponible
Url: http://listes.philippeapril.com/pipermail/wifidog/attachments/20050401/ec23c4ff/attachment.pgp

Plus d'informations sur la liste de diffusion WiFiDog