Toni Uebernickel
4028cf19e7
use scalar for default connection alias
2016-01-24 11:28:34 +01:00
Toni Uebernickel
da1f027142
combine schema files into one AppData
...
This fixes #173 .
In case the schema.xml files are referenced across multiple bundles, the \AppData needs to be extended by each bundle, before reading data from the respective \Database.
2016-01-23 22:50:28 +01:00
Toni Uebernickel
4db28b7bbd
introduce Propel\Bundle\PropelBundle namespace
2016-01-23 21:41:17 +01:00
Toni Uebernickel
13b34567f5
remove Symfony Security ACL integration
...
The PropelAclBundle will provide integration of the Symfony Security ACL component.
2016-01-23 19:30:36 +01:00
Toni Uebernickel
1b589bfe15
check "bundle" argument has been passed
2016-01-23 19:29:58 +01:00
Toni Uebernickel
9c575c637c
enforce error message if bundle argument is set
...
This fixes #180 .
The kernel will throw an exception if the bundle could not be found, which also contains the name of the bundle.
2016-01-23 17:50:54 +01:00
Toni Uebernickel
fe65d848ca
CS fixes
2016-01-23 14:44:00 +01:00
Toni Uebernickel
eca10b8722
generate SQL files into cache directory
...
This fixes #376 .
2016-01-23 14:40:17 +01:00
Toni Uebernickel
5e8668a7e0
fix AbstractCommandTest avoiding SplFileInfo mocks
2014-11-01 15:44:42 +01:00
Toni Uebernickel
68793ac525
Merge pull request #276 from boekkooi/patch-1
...
Fix possible `PDO Unknown database` error
2014-11-01 14:46:11 +01:00
Toni Uebernickel
f383fc8a69
fix double period in package names
2014-10-01 08:52:49 +02:00
Olivier Pichon
78cf831795
fixed bundle package under PSR-4
...
Fixed package attribute on tables for PSR-4
fixed unsetting temp schemas
2014-09-29 15:27:21 +07:00
Warnar Boekkooi
b61fed529a
Fix possible PDO Unknown database
error
...
This patches a possible `Unable to open PDO connection [wrapped: SQLSTATE[42000] [1049] Unknown database '<db_name>']` when the dsn is not ending with a `;`.
Related to #159
2014-08-19 10:48:49 +08:00
Robin van der Vleuten
8d9067ec87
Correct prefix when PSR-4 bundle
2014-03-31 13:03:58 +02:00
William Durand
967bc8769a
Fix previous commit
2013-11-18 14:27:18 +01:00
Jaak Tamre
bd8f1fe083
Update BuildCommand.php
...
Pas verbose option for sub commands.
2013-11-18 14:46:23 +02:00
Marcin Kucharski
77c98544f6
Update SqlInsertCommand.php
2013-06-17 16:37:11 +03:00
Marcin Kucharski
b4252ee62c
Update SqlBuildCommand.php
2013-06-17 16:36:56 +03:00
Marcin Kucharski
ad6d950980
Update ReverseCommand.php
2013-06-17 16:36:46 +03:00
Marcin Kucharski
f142ced764
Update ModelBuildCommand.php
2013-06-17 15:36:34 +02:00
Marcin Kucharski
5a2392a268
Update FixturesLoadCommand.php
2013-06-17 15:36:23 +02:00
Marcin Kucharski
82a6343775
Update AclInitCommand.php
2013-06-17 15:35:38 +02:00
Marcin Kucharski
6c2a2bf565
Show error message when uncommited migrations are found
2013-06-12 12:41:12 +02:00
Marcin Kucharski
7cc36ee07c
Support for --verbose
2013-06-12 12:39:39 +02:00
auss
1f0dd499c5
Missing use
...
Someone has forgotten to add use for the Filesystem component
2013-05-14 15:34:35 +03:00
Luca Saba
67e668dcd5
Creates the fixturs folder if needed
...
With this change, if the fixtures folder does not exists
the propel:fixtures:dump command asks user's confirmation
for its creation. If the user deny the authorization, the command
will throw a IOException (before file_put_contents rises a warning).
2013-04-16 11:08:11 +02:00
William DURAND
a758f32421
Fix CS
2013-01-11 18:57:24 +01:00
jaugustin
7ff244193d
fix display message
2012-11-11 18:59:57 +01:00
jaugustin
a8bb6a2a8b
add connection option for commands: build, sql:build, migration:generate-diff
2012-11-11 18:25:23 +01:00
Virginie BARDALES
89d2a43650
create sql folder if not exists
2012-08-23 16:17:56 +02:00
William Durand
b70c73f674
Merge pull request #171 from Martiusweb/build_sql_update
...
sql:build take existing files into account
2012-08-22 05:45:36 -07:00
Anh Tuan Kieu
3fb8fe5d1a
Manage multiple connections. Add ability to pass output dir to FixtureDumpCommand
2012-08-20 13:52:51 +02:00
Martin Richard
54c60cf4a1
sql:build take existing files into account
...
Signed-off-by: Martin Richard <martius@martiusweb.net>
2012-07-31 11:08:35 +02:00
William DURAND
8299a76059
Add new default parameter 'addClassLevelComment'
2012-07-25 09:25:37 +02:00
Adel
4219e706d4
RUN PHP-CS PSR-2
2012-07-19 17:40:35 +01:00
William DURAND
69cbd01fcc
Add more default values
2012-07-16 12:44:19 +02:00
William DURAND
27b0f3c374
[Command] Prevent error if no password found
2012-07-12 14:44:30 +02:00
William DURAND
554132cffd
Fixed command output, fixes #161
2012-06-24 01:09:07 +02:00
Tero Kaisti
b4475d27fb
The MySQL PDO must be connected without the dbname in its dsn because the db being created does not exist yet.
...
Tested MySQL Server version 5.5.21.
2012-06-06 22:24:03 +03:00
William DURAND
6970913db9
Fixed CS
2012-05-24 16:36:46 +02:00
William DURAND
590787d2b6
Removed command headers, fixed naming
2012-05-09 08:55:00 +02:00
William DURAND
a99af5fffc
Fixed bad english
2012-05-09 08:55:00 +02:00
William DURAND
ca45e9c5cf
Added faker support
2012-05-08 18:32:32 +02:00
William DURAND
29ca595387
Removed 'Propel' class prefixes
2012-04-20 13:54:05 +02:00
William DURAND
dd13a0f40b
Added few unit tests, fixed CS
2012-04-20 10:57:38 +02:00
William Durand
07a2dc1318
Merge pull request #136 from tacman/tac_fix1
...
correct the output
2012-04-19 17:30:31 -07:00
William DURAND
6620406a84
Fixed error message
2012-04-20 02:27:47 +02:00
William DURAND
a30747ed09
Added a better way to use a bundle argument in commands
...
Added bundle argument to propel:model:build command
2012-04-20 02:20:54 +02:00
Tac Tacelosky
1150ae284f
correct the output
2012-04-19 16:22:43 -04:00
William DURAND
f68972f2b7
Fixed PropelGeneratorAwareCommand to use the propel.ini file
2012-04-16 11:14:55 +02:00