The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Status Update 025
#1
New SQL dump required.

This primarily focuses with updates.
What I've done is created a file called users/includes/migrations.php

Every time we do a db update, it will go inside that file. There is also a table called updates that lists which and when db updates were performed.

users/update.php will contain EVERY db update from 4.3.0 on

The great thing about this is that a user can use something like git (or even download an entirely fresh copy of userspice) and dump it on top of their existing one and all of the database changes will happen in order to get them right back up to speed.

In the event that someone downloads an update and doesn't run the database update, they will be notified in the admin dashboard.

I've also made the nags for recaptcha and default password only for live sites.

I think that's about it.
  Reply


Messages In This Thread
Status Update 025 - by mudmin - 09-24-2017, 02:53 PM
Status Update 025 - by mudmin - 09-24-2017, 02:54 PM
Status Update 025 - by Brandin - 09-24-2017, 04:09 PM
Status Update 025 - by mudmin - 09-24-2017, 04:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)