Commit graph

87 commits

Author SHA1 Message Date
William DURAND
bd3c8559b6 Fixed bug on database create 2011-08-18 12:15:04 +02:00
nibsirahsieu
37fcc0132f fix undefined $container when building models 2011-08-02 23:58:20 +07: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
Maxime AILLOUD
cbf4fe890c Update of the PHPDoc header of the TableDropCommand class 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
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
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
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
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
4c07e38ce3 Added a way to detect errors during Phing execution 2011-06-20 09:41:00 +02: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
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
Maxime AILLOUD
ad23a1f7d7 Avoid php notice if the database configuration was not provided 2011-05-18 12:43:44 +02:00
William DURAND
580e0e3c89 Merge remote-tracking branch 'origin/master' into form_beta1 2011-05-17 00:24:39 +02:00
William DURAND
bd64c555aa Refactored PhingCommand to check Propel database configuration before to launch a command 2011-05-17 00:21:20 +02:00
William DURAND
aa7eb61088 Fixed PhingCommand 2011-05-05 19:17:12 +02:00
William DURAND
26d106a2ef Added output message 2011-04-19 17:39:10 +02:00
William DURAND
68ae0ef9d7 Fixed license 2011-04-19 17:38:46 +02:00
William DURAND
2cd58d70e1 Fixed output for command load-fixtures 2011-04-19 14:34:02 +02:00
William DURAND
7fbd755f05 Changed getConnection return to get the name of the connection 2011-04-19 14:32:38 +02:00
William DURAND
5576005b6d Refactored command: status 2011-04-19 14:23:33 +02:00
William DURAND
047d83f33e Minor changes for commands: generate-diff and migrate 2011-04-19 14:23:17 +02:00
William DURAND
9aca0bfaa8 Added new command: load-fixtures 2011-04-19 14:18:42 +02:00
William DURAND
6942b6982c Refactored insert-sql command 2011-04-19 14:18:07 +02:00
William DURAND
e181e2d995 Minor changes on graphviz command 2011-04-19 14:16:28 +02:00
William DURAND
143072ec87 Fixed licence 2011-04-19 14:16:13 +02:00
William DURAND
c9be0512b1 Fixed output for command: build-sql 2011-04-19 14:14:20 +02:00
William DURAND
d4c6d0a586 Fixed output for command: build-model 2011-04-19 14:13:08 +02:00
William DURAND
9c810c2e03 Refactored data-sql command 2011-04-19 14:11:34 +02:00
William DURAND
f5b580e6ad Refactored commands, added a new method in PhingCommand to handle '--connection' option 2011-04-19 14:03:52 +02:00
William DURAND
d4c541c120 Fixed data-dump command 2011-04-19 13:59:19 +02:00
William DURAND
dd8c42df38 Added option 'connection' to fix the build command 2011-04-19 13:57:53 +02:00