Skip to content

Instantly share code, notes, and snippets.

@RyanThompson
Last active April 15, 2016 15:34
Show Gist options
  • Save RyanThompson/b62f4aaaf9f608aeed58 to your computer and use it in GitHub Desktop.
Save RyanThompson/b62f4aaaf9f608aeed58 to your computer and use it in GitHub Desktop.
Migrating Beta2 to Beta3
  • First install a clean copy of PyroCMS Beta3 for reference.
  • Next update the composer.json file of your B2 install with that of the B3 install.
  • Mark your B2 install as INSTALLED=false.
  • composer update to bring in all the new goodies.
  • Add placeholder, warning, instructions to streams_fields_translations table.
  • Mark all streams in streams_streams as trashable=1 according to fresh install's table.
  • Add deleted_at (DATETIME) to all stream entry tables where the stream is marked trashable above.
  • Rename the stream groups to menus in streams_streams.
  • Rename the table navigation_groups to navigation_menus.
  • Rename the column group_id to menu_id in navigation_links.
  • Rename the field slug group to menu in streams_fields table and copy config value from fresh install's table.
  • Rename the field slug page_handler to handler in streams_fields table.
  • Rename the column page_handler to handler in pages_types table.
  • Change type to anomaly.field_type.relationship in streams_fields table.
  • Copy configuration column for the above (should be two) rows modified according to fresh install's table values.
  • php artisan streams:compile
  • mark your .env file to use the admin theme pyrocms.theme.pyrocms

Notes: you will need to load the front end and check for plugin differences like nav_group -> menu but those will be self explanatory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment