Viewing 1 replies (of 1 total)
  • Thread Starter Michelle Curran

    (@mecurran)

    I received help on this from Ryan Kienstra on GenesisWP Slack. Leaving this in case it helps somebody else on Pantheon hosting.

    After backing up the environment, and making changes to hooks or api, I used terminus and WP-CLI commands for the migration on test and live:

    terminus wp [site].[env] -- shell

    ( new Block_Lab\Admin\Migration\Post_Type( 'block_lab', 'block-lab', 'block_lab', 'genesis_custom_block', 'genesis-custom-blocks', 'genesis_custom_blocks' ) )->migrate_all();
    ( new Block_Lab\Admin\Migration\Post_Content( 'block-lab', 'genesis-custom-blocks' ) )->migrate_all();

    Each of those commands will show whether it succeeded:

    array(2) {
      'successCount' =>
      int(2)
      'errorCount' =>
      int(0)
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Pantheon Migration Issue’ is closed to new replies.