octopus
octopus copied to clipboard
Octopus causing migrations to be run against shards.yml database when running migrations
Migrations in my project are expected to be run against the config/database.yml db. But I noticed that they were being run against the shard database instead.
This solution works around the problem but just wanted to let you know of the bug.
Stack
- rails 5.0.1
- ar-octopus 0.9.0
- mysql2 gem 0.4.4
- pg gem 0.18.4
- Bundler version 1.13.7
- rake, version 12.0.0
- OS Ubuntu 14.04.2 LTS
- mysql Ver 14.14 Distrib 5.5.43, for debian-linux-gnu (x86_64) using readline 6.3 [used in shards.yml]
- PostgreSQL 9.4.4 [used in database.yml]
Unfortunately the page in question disappeared from the Wiki -- what was your solution here?
are you using capistrano? i have the same issue with capistrano on deploy