Migration from 1.5.x to 1.6.x
This guide contains instructions for migration from PowerAuth Cloud version 1.5.x
to version 1.6.0
.
API
Registration flags validation
Registration flags can now contain at least one and at most 64 alphanumeric characters or special symbols from
set: {_.:-}
. This change involves flags
field of request body of three endpoints.
v2/registrations/{registrationId}/flags
v2/registrations/{registrationId}/flags/remove
v2/registrations
Database
Forbid name duplication for operation templates
Add unique constraint to templateName
column in pa_operation_template
table.
Applying this change may fail if there are duplicates in the pa_operation_template
table. Please make sure there are
no two records with the same name templateName
. If necessary, remove any duplicities from the table manually. Consider
creating a backup before this operation.
Add foreign key constraints to operations and applications relation
Add foreign key constraints to relating table pa_operation_application
.
Applying this change may fail if there is an inconsistency between tables pa_operation_application
and pa_application
or pa_operation
. Make sure that pa_operation_application.application_id
contains references to
existing pa_application.id
and pa_operation_application.operation_id
contains references to
existing pa_operation.id
. If necessary, manually remove orphaned records in pa_operation_application
. Consider
creating a backup before this operation.
Rename password column
Rename column password
of the table pa_cloud_user
to userpassword
because of Oracle reserved words.