• Resolved rladha

    (@rladha)


    Hello WPDA Users,

    Just wanted get your thoughts, how you are doing version control and deployment between different env using WP Data Access Plugin?

    1. How to deploy a single or multiple field change(s) from DEV to Prod?
    2. How to deploy a new page from DEV, QA, to Prod?

    Or you are making live changes in all your env?

    Really appreciate your thoughts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @rladha,

    Good question! 🙂

    1. How to deploy a single or multiple field change(s) from DEV to Prod?

    That depends on how you are developing. If you are writing your own scripts, you can just run your own alter table scripts. If you are using the Data Designer, the Data Designer can create an alter table scripts for you. The plugin however, does not save these scripts, so you would need to save them manually and run on the production server.

    2. How to deploy a new page from DEV, QA, to Prod?

    After updating the database, you can copy your new version of a publication or project to your production server. But you would need to remove the old version first. After that you will need to change the ID’s used in projects and publications.

    This mechanism is not yet very smooth. It needs to be polished. I have just released the Code Manager, which allows to use code names instead of code id. The implementation of this mechanism into WP Data Access is on my to do list. And imports need to perform updates instead of inserts only.

    Does this answer your question?

    Best regards,
    Peter

    Thread Starter rladha

    (@rladha)

    Thanks @peterschulznl

    In principle it make sense. Let me give it a try.

    Thanks again, keep up the good work!

    I will look into Code Manager https://wordpress.org/plugins/code-manager/

    Rahim

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WPDA: Changes management & Version control – Best Practices’ is closed to new replies.