Commit graph

820 commits

Author SHA1 Message Date
William DURAND bd3c8559b6 Fixed bug on database create 2011-08-18 12:15:04 +02:00
William DURAND cda1afd993 Merge pull request #23 from nibsirahsieu/patch-1
fix undefined $container when building models
2011-08-02 10:17:48 -07:00
nibsirahsieu 37fcc0132f fix undefined $container when building models 2011-08-02 23:58:20 +07:00
William DURAND 2b3e2f0b3f Merge branch 'maxailloud_all' 2011-07-30 20:53:18 +02:00
William DURAND 031375df6e Fixed unit tests 2011-07-30 20:37:54 +02:00
William DURAND e463a8bcd8 Fixed CS 2011-07-30 19:26:48 +02:00
William DURAND 0347aaccb8 Reverted commit 6785589a0c according to the previous revert 2011-07-30 19:18:00 +02:00
William DURAND 740dd4c3a6 Reverted commit 1777dc4a9d as it does not match the Propel philosophy 2011-07-30 19:14:13 +02:00
Maxime AILLOUD cbf4fe890c Update of the PHPDoc header of the TableDropCommand class 2011-07-30 19:04:56 +02:00
Maxime AILLOUD fd39223c7f Add the root directory of the project in the include path to make the override of propel's generator classes easier 2011-07-30 19:04:56 +02:00
Maxime AILLOUD ae65d873a6 Modification of the generation of the buildtime file to use charset in Propel 2011-07-30 19:04:56 +02:00
Maxime AILLOUD 6785589a0c Using the propel connection through the dependency injector, and dealing with foreign key when dropping table 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 1777dc4a9d Adding the propel connection to the dependency injection container 2011-07-30 19:04:55 +02:00
Maxime AILLOUD f74c659f24 Bug corrected when the database has no table in the command table:drop 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 5a1f644a6a Namespace corrected for the exception class in the command: propel:database:drop, propel:database:create and propel:table:drop 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 38150e71c9 Added a new command: propel:table:drop which allow to drop one, several or all table for a given connection by using the Symfony2 console 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 49abcb9161 Insert charset parameter in the buildtime file in ordre to deal with UTF8 data 2011-07-30 19:04:55 +02:00
Maxime AILLOUD 102e688f5b Add the ability to the LoadFixturesCommand to load SQL files 2011-07-30 19:03:57 +02:00
Maxime AILLOUD abbe60830c Modification of the generation of the buildtime file to use charset in Propel 2011-07-30 18:51:18 +02:00
William DURAND fc3b214fb0 Merge pull request #18 from osek666/patch-1
Hardcoded -2 fails when namespace is longer.
E.g. namespace="Sensio\Bundle\HelloBundle\Model"
2011-07-05 04:57:07 -07:00
osek666 d5ce54b7de Hardcoded -2 fails when namespace is longer. E.g. namespace="Sensio\Bundle\HelloBundle\Model" 2011-07-05 02:46:23 -07:00
William DURAND 06b5f2783d Updated doc 2011-06-22 17:38:12 +02:00
William DURAND e27dc9cbd5 Added secure tests for the drop database command 2011-06-22 17:31:57 +02:00
William DURAND 096faad24a Added shortcut to use dialog helper 2011-06-22 17:27:28 +02:00
William DURAND 35a56e8ca8 Improved commands 2011-06-22 16:47:19 +02:00
William DURAND 4f1cc4ce05 Fixed PhingCommand + added a writeSection() method 2011-06-22 16:46:44 +02:00
William DURAND 3f49f58e8c Added a new command: propel:database:create which allow to create a database for a given connection by using the Symfony2 console 2011-06-22 15:32:13 +02:00
William DURAND 294e4d72bc Fixed database:drop command 2011-06-22 14:17:37 +02:00
William DURAND 35e3420110 Fixed doc typo 2011-06-22 14:13:47 +02:00
William DURAND 4fdace857e Updated doc 2011-06-22 14:12:36 +02:00
William DURAND 28cbe61feb Added a new command to drop a database 2011-06-22 14:11:24 +02:00
William DURAND 833441e428 Merge branch 'master' of git://github.com/willdurand/PropelBundle 2011-06-22 13:48:49 +02:00
William DURAND c7f5ed7e2b Added a method to get the dbname in Command classes 2011-06-22 13:48:43 +02:00
William DURAND c9cfae539d Fixed PhingCommand class to fit last Symfony2 changes. Fixed #17 2011-06-22 13:46:14 +02:00
William DURAND 2c6c884861 Fixed error in exception message 2011-06-21 15:54:49 +02:00
William DURAND 4c07e38ce3 Added a way to detect errors during Phing execution 2011-06-20 09:41:00 +02:00
William DURAND d9862f6eae Merge pull request #16 from fzaninotto/verbose_phing_task
Verbose phing task
2011-06-08 00:29:09 -07:00
fzaninotto 17d994bcd7 Added support for the debug option in build-model and build-sql commands 2011-05-30 17:03:08 +02:00
William DURAND 465fad8872 Merge branch maxailloud 2011-05-25 00:04:27 +02:00
William DURAND 4459a9ef43 Fixed typo 2011-05-24 23:53:55 +02:00
William DURAND 5dd7dd9be4 Added charset at build time 2011-05-24 23:52:43 +02:00
Maxime AILLOUD 301764d553 Change of the README to explain the new options of the load-fixtures command 2011-05-24 23:37:31 +02:00
Maxime AILLOUD 35af040979 Add the ability to the LoadFixturesCommand to load SQL files 2011-05-24 23:36:49 +02:00
Maxime AILLOUD 835e0f517f No need of "--" when adding an option in a command, automatically add 2011-05-24 23:31:55 +02:00
William DURAND 9223f4aeeb Fixed configuration panel (profiler) 2011-05-24 17:47:42 +02:00
William DURAND 23a7d6b6d8 Fixed configuration panel (profiler) 2011-05-24 17:46:34 +02:00
William DURAND 0e687c3ac7 Fixed SyntaxExtension 2011-05-24 13:20:15 +02:00
William DURAND 1215732cfe Fixed SyntaxExtension 2011-05-24 13:17:36 +02:00
William DURAND de65745e2c Fixed the way queries are counted (profiler) 2011-05-24 12:12:17 +02:00
William DURAND cfe3c2b390 Fixed the way queries are counted (profiler) 2011-05-24 12:11:54 +02:00