How to automate Database migration and rollback for an Openshift application

Solution In Progress - Updated -

Issue

  • How to automate deployment of an application including database schema migration.
  • How can we get current deployment-id from action hook.
  • Database migration and rollback.
  • Is there a way to automate database migration and rollback in Openshift.

Environment

  • Openshift Enterprise
  • Openshift Online

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.