|
Posted by Lorenzo Bettini on 01/23/07 07:51
J.O. Aho wrote:
> Lorenzo Bettini wrote:
>
>>> You can even take this a level higher and include checks in the
>>> regular php code that checks if the database is up to date if a sql
>>> query fails, if it notice that the database isn't of the right
>>> format, it updates the database and then redo the sql query, this way
>>> the user don't have to run any update.php or run a sql file.
>
>> yes, but this would perform the check for every sql query... it might
>> have too much overhead...
>
> You can do as many of the portal systems does, provide a script that
> updates from previous version to current version, if someone has skipped
> an update, then it's kind of their problem.
>
I'm already doing this :-)
--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
[Back to original message]
|