elcodi / bamboo

Meet Bamboo, an e-commerce project built on top of Elcodi and Symfony. Give us a star to support our project :)
http://bamboo.elcodi.com
MIT License
198 stars 44 forks source link

Schema migrations #582

Closed EmanueleMinotto closed 9 years ago

EmanueleMinotto commented 9 years ago

I don't see database schema migrations for the production environment, shouldn't migrations be included for the safety of bamboo applications already on production?

Of course to include them should be used the DoctrineMigrationsBundle.

mmoreram commented 9 years ago

@EmanueleMinotto I give you some tips, but I'm agree about evolve this idea...

Great reminder!

EmanueleMinotto commented 9 years ago

Oh ok, no it isn't really important if bamboo is a dev/test only application, but if someone uses bamboo also in production than schema migrations could become really important:

No, the DoctrineMigrationsBundle isn't the only solution: https://github.com/ziadoz/awesome-php#migrations Anyway I would still recommend it because really well integrated with the sf2 framework.

mmoreram commented 9 years ago

@EmanueleMinotto Great! Then, that's a good idea!

What we could do here is provide the interface of doing that, and why not, turn all our Fixtures into one single migration.

Do you want to take care of it?

Thanks man!

EmanueleMinotto commented 9 years ago

Sure I can :+1:

mmoreram commented 9 years ago

You rock man... :dancers: