Skip to content

Update database to v2.3

Before you proceed

When you are updating from a version prior to v2.2, you must implement all the changes from v2.2 before you proceed to the steps below.

Database update script

Apply the following database update script:

1
mysql -u <username> -p <password> <database_name> < vendor/ezsystems/ezpublish-kernel/data/update/mysql/dbupdate-7.2.0-to-7.3.0.sql

Changes to timestamp

A new timestamp column has been added in order to keep track of when items were trashed.

To apply this change, use the following database update script:

1
mysql -u <username> -p <password> <database_name> < vendor/ezsystems/ezpublish-kernel/data/update/mysql/dbupdate-7.2.0-to-7.3.0.sql

Form builder

In an Enterprise installation, to create the Forms container under the content tree root use the following command:

1
php bin/console ezplatform:form-builder:create-forms-container

You can also specify Content Type, Field values and language code of the container, e.g.:

1
php bin/console ezplatform:form-builder:create-forms-container --content-type custom --field title --value 'My Forms' --field description --value 'Custom container for the forms' --language-code eng-US

You also need to run a script to add database tables for the Form Builder. You can find it in https://github.com/ezsystems/ezplatform-ee-installer/blob/2.3/Resources/sql/schema.sql#L136

Form (ezform) Field Type

After the update, in order to create forms, you have to add a new Content Type (e.g. named "Form") that contains Form Field (this Content Type can contain other fields as well). After that you can use forms inside Landing Pages via Embed block.