evanhenry Publish time 2021-08-18 09:29

How to update Discuz database?

Hey guys,

Hope all is well?

As usual there are tons of uploads since my last return. I usually replace the changed files on my site and evertyhing seems to work well. But this time,

Revision #1586 has lot of new entries added to pre_common_setting in the database. Can Vot or anyone let me know how to update my pre_common_setting table with the new entries? I use phpmyadmin and MySQL

Does Discuz has a way to update the database tables only without losing already exsiting values?

Waiting for an answer.

Cheerios......
Evan

vot Publish time 2021-08-18 21:35

There is a special utility in Discuz for updating the DB structure.
But there is no utility to add a new settings into DB.

Starting from revision #1609 Discuz!ML have a special "migrate" folder for SQL data upgrading.
Each SQL file is named as a date of that changes appears in a database.
You can apply that files with phpmyadmin at your peril :)
Pages: [1]
View full version: How to update Discuz database?