Page 1 of 1

Database update

Posted: Wed Jul 27, 2022 10:20 am
by Noke101
Script URL: localhost
Version of script: 3.2.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hello Klemen! I would like to update the version of my Hesk, but I do not want to do it using the script that you suggest, because I have made a lot of changes, added QR codes, changes in the type of generated TicketID and others.

New tables associated with the MFA are added there, the type of the "pass" field changes in the "users" table, etc.

I would be very grateful if you just divisor SQL with a query that will refresh my old database. My current version is 3.2.2.
Many thanks!

Re: Database update

Posted: Wed Jul 27, 2022 11:12 am
by Klemen
The update script doesn't just update the database, it also handles other things like saving new variables that have been added.

If you want to manually update I suggest you view/extract the code in the install/update.php file and update accordingly.

Also, I suggest that you use a version control system such as Git or Subversion to track your changes; that will make it easier to apply (merge) them into new Hesk versions.