- PostgreSQL
- Oracle MySQL
1. Branch
Like all updates to your Upsun projects, first create a new dedicated environment to test this change.2. Install the Node.js package
- PostgreSQL
- Oracle MySQL
3. Add a new service
Add a new service to your.upsun/config.yaml file:
4. Add a new relationship
Add a new relationship to your.upsun/config.yaml file to allow access to the new service
5. Update .environment
When you previously ran upsun project:init, the command generated some Strapi-specific environment variables:
.environment
DATABASE credentials).
Then, add a single additional variable that will set the DATABASE_CLIENT variable at the appropriate time:
- PostgreSQL
- Oracle MySQL
.environment
6. Push to the environment
Commit and push the changes to the Upsun environment:If you are using Upsun as your primary remote, you can use the
upsun branch and upsun push commands directly.
If instead you had already set up an integration to GitHub, GitLab or Bitbucket, make sure to open a pull/merge request to judge the revision.