- Posts: 70
- Thank you received: 15
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
database updates (migrations)
- bismark
- Topic Author
- Offline
- Senior Member
Less
More
5 years 3 weeks ago #181254
by bismark
database updates (migrations) was created by bismark
Assume I update my Limesurvey instance via git pull and there are any database updates.
There is a Console Command "updatedb".
How I do I get noticed about new "migrations"?
Is it good practice to call the command after git pull every time?
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.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 3 weeks ago #181264
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic database updates (migrations)
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.
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 , plugin development .
I don't answer to private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
5 years 3 weeks ago #181269
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic database updates (migrations)
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.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 3 weeks ago #181274
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic database updates (migrations)
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
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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
5 years 3 weeks ago #181276
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic database updates (migrations)
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.