Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

database updates (migrations)

More
6 years 6 months 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".

Code:
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?
The topic has been locked.
More
6 years 6 months 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 support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
More
6 years 6 months 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.
The topic has been locked.
More
6 years 6 months 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 support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: tpartner
The topic has been locked.
More
6 years 6 months 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.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose