-
Notifications
You must be signed in to change notification settings - Fork 12
PowerAuth Push Server 0.21.0
Roman Štrobl edited this page Sep 3, 2018
·
26 revisions
This guide contains instructions for migration from PowerAuth Push Server version 0.19.0 to version 0.21.0.
Following DB changes occurred between version 0.19.0 and 0.21.0:
- Table
push_app_credentials
- added columnandroid_project_id
which contains the Firebase project ID. - Table
push_app_credentials
- added columnandroid_private_key
which contains the Firebase service account private key used when obtaining access tokens for FCM HTTP v1 API. - Table
push_app_credentials
- dropped columnandroid_server_key
which was used by legacy FCM HTTP API. - Table
push_app_credentials
- dropped columnandroid_bundle
which was replaced byandroid_project_id
.
Migration scripts are available for Oracle and MySQL.
DB migration script for Oracle:
--
-- Updated columns for FCM
--
-- ALTER TABLE PUSH_APP_CREDENTIALS ADD ANDROID_PRIVATE_KEY BLOB DEFAULT NULL; -- ALTER TABLE PUSH_APP_CREDENTIALS ADD ANDROID_PROJECT_ID VARCHAR2(255) DEFAULT NULL; -- ALTER TABLE PUSH_APP_CREDENTIALS DROP ANDROID_SERVER_KEY; -- ALTER TABLE PUSH_APP_CREDENTIALS DROP ANDROID_BUNDLE;
DB migration script for MySQL:
```sql
--
-- Updated columns for FCM
--
-- alter table push_app_credentials add `android_private_key` blob DEFAULT NULL;
-- alter table push_app_credentials add `android_project_id` varchar(255) DEFAULT NULL;
-- alter table push_app_credentials drop `android_server_key`;
-- alter table push_app_credentials drop `android_bundle`;
Deployment Tutorials
Integration Tutorials
Reference Manual
Technical Topics