|
Posted by J.O. Aho on 01/22/07 14:21
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.
--
//Aho
[Back to original message]
|