database updates (migrations)

More
6 months 1 week ago #181254 by bismark
Assume I update my Limesurvey instance via git pull and there are any database updates.
There is a Console Command "updatedb".

php application/commands/console.php dbupdate

How I do I get noticed about new "migrations"?
Is it good practice to call the command after git pull every time?

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #181264 by DenisChenu
dbupdate test if update must be done (or not) and don't send an exception if it's not needed
github.com/LimeSurvey/LimeSurvey/blob/ma...ateDbCommand.php#L49

Then you can use it.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #181269 by tpartner
I don't follow. Do we need to run this when updating via GIT? I have never done so.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #181274 by DenisChenu
If you don't do it : it's done when you connect to admin : github.com/LimeSurvey/LimeSurvey/blob/59...nController.php#L123

Really really rarely needed

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: tpartner

Please Log in or Create an account to join the conversation.

More
6 months 1 week ago #181276 by tpartner
Thanks Denis.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!