fuel / core

Fuel PHP Framework - The core of the Fuel v1 framework
http://fuelphp.com
813 stars 345 forks source link

Development migrations #1197

Closed zoe-edwards closed 11 years ago

zoe-edwards commented 11 years ago

When working on projects with other people we all seem to have different local database settings. Almost every project I use I have to (or forget to, then try and shoehorn in later) add fuel/app/config/development/migrations.php to gitignore – is this something other people would appreciate?

WanWizard commented 11 years ago

I think a better solution would be to allow any arbitary environment, so every dev on the project can have their own environment folder.

The basis of this is already implemented, but I'm not sure it already works everywhere (think about oil).

zoe-edwards commented 11 years ago

Is that because Oil only allows the set FuelPHP environments?

WanWizard commented 11 years ago

I have to go though all code to see if there are any restrictions set.

WanWizard commented 11 years ago

Sorry, forgot about this. I haven't tested 1.4, but 1.5/develop does not have any restriction. I have a project where every developer has his own development config folder, and they just used their username for the environment.

You do have to ignore them if you don't want those folders propagate to staging and/or production.