How to run Cakephp Migrations ONLY in my development environment?

Asked

Viewed 8 times

0

I am working on a project that has three different environments:

  • Live (project in production)
  • Staging
  • Development

I created a Migration that creates the table teste, however, instead of creating in my local database, it somehow "ignores" that I am in the environment Development and creates in the environment Live.

Is there any configuration I can make for the Phinx (plugin that creates the Migrations) run the Migration in the schema I’m in?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.