Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
login issue after install
12-19-2018, 10:28 PM,
#10
RE: login issue after install
Years ago I proposed a system where database upgrades were put in small individual files, named by sequential numbers. I used php files for this, so that some sanity checks could happen before the upgrade was done. These files would be 1.php, 2.php etc. So for instance the database changes necessary for Phil's recent timesheets work would have been in their own separate file. Then on each login the highest file number in the directory containing these files is checked against the latest one that has been applied, and if there are unapplied files it would apply them.

At the time it was decided that the extra micro seconds involved in the sanity checks every time an update was applied was too much overhead. I use this system on my customers code, and it works well, making it easy to push updates to their servers.

Perhaps we should look at doing something similar, but taking out the sanity checks which was the main objection at the time?

Tim
Reply


Messages In This Thread
login issue after install - by rjonesbsink - 12-14-2018, 04:02 PM
RE: login issue after install - by TimSchofield - 12-14-2018, 06:20 PM
RE: login issue after install - by swaminathan - 12-15-2018, 03:12 AM
RE: login issue after install - by rjonesbsink - 12-16-2018, 02:33 AM
RE: login issue after install - by TimSchofield - 12-16-2018, 03:34 AM
RE: login issue after install - by rjonesbsink - 12-17-2018, 06:13 AM
RE: login issue after install - by TimSchofield - 12-17-2018, 06:33 AM
RE: login issue after install - by rjonesbsink - 12-17-2018, 08:57 AM
RE: login issue after install - by VortecCPI - 12-19-2018, 10:09 PM
RE: login issue after install - by TimSchofield - 12-19-2018, 10:28 PM
RE: login issue after install - by VortecCPI - 12-19-2018, 10:50 PM
RE: login issue after install - by phil - 12-21-2018, 07:07 AM
RE: login issue after install - by TimSchofield - 12-21-2018, 07:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)