You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.
William Montgomery edited this page Nov 4, 2018
·
1 revision
Kubernetes CLI
We use Kubernetes (k8s) to orchestrate our infrastructure. In production this means if you need to interact with the application you need to setup the k8s cli.
By following those instructions you will have access to the rails console.
Merge Migration
The first step for every DB migration is to merge the migration file to master and wait for the cluster to update. This allows the rails console to recognize that there is a current rails migration that can be performed.
Perform Migration
Using the kubectl rails console you can now run the migration
rake db:migrate
Intermediate issues
The new master application will expect a different database schema, this can cause issues. The migration task should be performed promptly to prevent user issues from occuring.