We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Putting this issue here for posterity as well for anyone else that's upgrading from Nova 3 to 4.
Here's the query I used to migrate from the old database table nova_page_manager_pages to the new version used in the latest version of this package:
nova_page_manager_pages
INSERT INTO pages (name, id, created_at, updated_at, template, parent_id, active, data, slug) select CONCAT('{"en":"', name, '"}'), id, created_at, updated_at, 'MyTemplateName' as template, parent_id, published as active, CONCAT('{"en":', data, '}'), CONCAT('{"en":"', slug, '"}') from nova_page_manager_pages
You'll want to of course create a corresponding new Template with php artisan npm:template {className}.
php artisan npm:template {className}
The text was updated successfully, but these errors were encountered:
Since I now started migrating an existing huge project from Nova 3 to Nova 4, I will also go through the process of migrating page manager's data.
I have a created a MIGRATING.md file that will include migrations and other details I went through to upgrade the version.
It currently only contains the database migration.
Sorry, something went wrong.
No branches or pull requests
Putting this issue here for posterity as well for anyone else that's upgrading from Nova 3 to 4.
Here's the query I used to migrate from the old database table
nova_page_manager_pages
to the new version used in the latest version of this package:INSERT INTO pages (name, id, created_at, updated_at, template, parent_id, active, data, slug) select CONCAT('{"en":"', name, '"}'), id, created_at, updated_at, 'MyTemplateName' as template, parent_id, published as active, CONCAT('{"en":', data, '}'), CONCAT('{"en":"', slug, '"}') from nova_page_manager_pages
You'll want to of course create a corresponding new Template with
php artisan npm:template {className}
.The text was updated successfully, but these errors were encountered: