Automatically delete the old model files that Doctrine generated
Posted: August 20th, 2009 | Author: Marc | Filed under: easier | Tags: Doctrine, plugin, symfony 1.2, uvmcDoctrineTaskExtraPlugin | 4 Comments »I just released another plugin for symfony 1.2! The plugin is named uvmcDoctrineTaskExtraPlugin and aims to provide some tasks to help you with Doctrine.
The task I created today is really simple but helps a lot when it comes to manage the files that doctrine created. I’m pretty sure you already had to delete all the models, forms, filters and table that doctrine generated because of a typo in your model’s name or because it suxxed. Well, now, thanks to this plugin, you’ll be able to do that in a second.
You simply have to run:
php symfony doctrine:delete-files-of-model myModelName
and it will automagically deletes every files related to this model.
Recent Comments