Gregor Harlan
d5f4435ce0
support bundle-less schema file ( #458 )
2017-08-31 12:27:56 +02:00
Gregor Harlan
59f3b4a738
Allow to configure sql/migrations dir ( #459 )
2017-08-31 12:26:56 +02:00
cedric lombardot
5ea4110b62
3.0 Some Fixes for MSSQL ( #438 )
...
* Fix DatabaseCreateCommand for Mssql
* parseDbName for Mssql
* Use a simple connection for drop
Else MSSQL will say ressource is in use
* encoding
2017-01-09 12:30:41 +01:00
Maxim
cdcb3f6b9f
Removed unnecessary catched exceptions in commands ( #421 )
...
* Remove catch exception
Because this is broken -vvv and don't show stack trace
* Update DatabaseDropCommand.php
* Update FixturesDumpCommand.php
* Update TableDropCommand.php
2016-05-27 15:07:47 +02:00
Philipp Bräutigam
830e68f344
Fixed temporary configuration for database creation ( #419 )
...
* Fixed temporary configuration for database creation
* Fixed regular expression
2016-05-18 22:06:14 +02:00
Leo
f984bb5642
remove the semicolon before dbname ( #416 )
...
A dsn like "mysql:host=localhost;dbname=foo"
After preg_replace, the dsn become "mysql:host=localhost;"
If we have additional setting "charset: utf8", the dsn will become "mysql:host=localhost;;charset=utf8", which make propel:database:create not working
2016-05-11 01:22:50 +02:00
Leo
95e4c804a4
fix "propel:acl:init" command ( #418 )
...
let "propel:acl:init" command insert sql into database with a "--force" option
2016-05-11 01:22:34 +02:00
Marc J. Schmidt
b8b0e8039b
Merge branch '2.0' of https://github.com/marcj/PropelBundle into IceShack-feature/sf3FormGeneration
2016-04-13 15:25:53 +02:00
Marc J. Schmidt
4cef2b6701
Merge branch 'feature/sf3FormGeneration' of https://github.com/IceShack/PropelBundle into IceShack-feature/sf3FormGeneration
2016-04-13 14:42:59 +02:00
Toni Uebernickel
865599263e
Merge pull request #396 from IceShack/2.0
...
Make PropelBundle available for Symfony 3.X
2016-03-28 13:05:40 +02:00
Marc J. Schmidt
07dd412e06
Fixed package name generation for paths outside of application root.
2016-03-27 03:16:43 +02:00
Moritz Schroeder
edfb13c388
Added special logic for foreignKey columns
2016-02-17 19:51:22 +01:00
Moritz Schroeder
51fb7fd287
Used old namespace
2016-02-17 19:06:59 +01:00
Moritz Schroeder
6250e8d2fe
Used old namespace
2016-02-17 19:05:17 +01:00
Moritz Schroeder
b64f7446e7
Initial commit for new sf3 form creation
2016-02-17 18:57:00 +01:00
Moritz Schroeder
ca13ff5195
Make PropelBundle available for Symfony 3.X
...
- Updated composer.json dependency
- Replaced deprecated dialog helper with question helper
- propel.html.twig - Use render function not render tag
- Replaced ContainerAware with ContainerAwareTrait
2016-02-15 18:01:47 +01:00
Thomas Schaaf
d6d99be87f
Fix model_paths
2016-02-13 18:10:46 +01:00
Gregor Harlan
893c85c655
introduce "Bundle" namespace part
2016-02-11 19:31:44 +01:00
Toni Uebernickel
ead5be068e
Merge pull request #355 from pimpreneil/fixtures_symfix
...
Fix #257 - Prevent symlink paths resolving in fixtures loading
2015-12-03 18:13:32 +01:00
Łukasz Barulski
a730943db2
don't enforce semicolon at end of dsn
...
propel:database:create is not working if you have dbname at end of dsn without semicolon
2015-10-27 10:56:37 +01:00
Micha Waterböhr
66c7e32838
Update AbstractCommand.php
...
fixed return value to return correct dsn with appended user and password values
2015-10-22 11:19:59 +02:00
Arnaud Lejosne
0ce540c84a
Fix #257 - Prevent symlink paths resolving in fixtures loading
2015-08-13 13:28:21 +02:00
dietmar.erdmann
631cae6258
fixed insertSql method for FixturesLoadCommand
...
option sql-dir has to be the cacheDir, force is needed for
SqlInsertCommand
2015-08-11 18:07:24 +02:00
Toni Uebernickel
429f6b5879
Merge pull request #332 from IceShack/2.0
...
Add user and password to dsn string
2015-07-22 08:30:19 +02:00
Toni Uebernickel
1701a4e67d
Merge pull request #309 from K-Phoen/infer-default-connection
...
Fix default connection detection when not explicitly set in the config
2015-06-10 20:56:30 +02:00
Moritz Schröder
b1b3989152
Add user and password to dsn string
2015-03-11 10:38:38 +01:00
Cristiano Cinotti
d933cda790
Fix FormGenerateCommand
...
Adjust `\PropelBundle\Command\FormGenerateCommand` class to work with
new Propel configuration system.
2015-01-02 15:26:39 +01:00
Marc J. Schmidt
c5062ec439
Added migration options for --force and --fake.
2014-12-19 16:47:25 +01:00
Marc J. Schmidt
3ac67e95e5
Fixed getPackagePrefix in AbstractCommand.
2014-12-02 18:09:36 +01:00
Marc J. Schmidt
76da37b710
Removed propel.runtime.logging
for Propel2' configuration file, since its configuration tree is a bit different.
2014-12-01 15:20:38 +01:00
Marc J. Schmidt
fe06f4c4f9
Set --platform for wrapper command only if it's not empty.
2014-11-27 11:06:02 +01:00
Marc J. Schmidt
959d9b178a
Added migration:migrate command.
2014-11-21 15:05:39 +01:00
Kévin Gomez
67eeb882e7
Fix default connection detection when not explicitly set in the configuration
2014-11-21 13:01:36 +00:00
Marc J. Schmidt
2278420d23
Added usage of --force in propel:build for sql:insert.
2014-11-20 12:45:50 +01:00
Marc J. Schmidt
9462559f33
Fixed sql:build command, use output-dir
as long as in propelv2 it is still output-dir
and not like in sql:insert sql-dir
.
2014-11-20 12:26:53 +01:00
Marc J. Schmidt
6f3ad8f373
Fixed AbstractCommand to work with newest Propel2 version. Added option index_property
back to ModelType.
...
Basically copied newest changes from propelv1 symfony bridge to ModelChoiceList to have more fixes included.
Fixed also some typehints.
2014-11-20 10:59:40 +01:00
Marc J. Schmidt
d3602a9012
Added --overwrite optin to sql:build command to allow overwriting the sql.map file without the need to remove it manually.
...
Made also --sql-dir configurable and changed its default value to %app_dir%/propel/sql like in propelBundle v1.
2014-11-19 18:47:02 +01:00
Marc J. Schmidt
5b15a2ea62
Added --force back to sql:insert command.
...
Made also --sql-dir configurable and changed its default value to %app_dir%/propel/sql like in propelBundle v1.
2014-11-19 18:43:54 +01:00
Kévin Gomez
a9977bbcc4
Infer the platform class name from the configuration
2014-09-15 13:45:18 +01:00
Kévin Gomez
530403636a
Read the migrations table from the configuration
2014-09-15 13:34:41 +01:00
Kévin Gomez
83f41ffa85
Remove useless configuration check
2014-09-15 13:34:24 +01:00
Kévin Gomez
09e4da0c19
Started to integrate the new configuration system (still WIP/dirty)
2014-09-12 21:18:03 +01:00
Kévin Gomez
cfedbd0d96
Add propel:migration:diff command
2014-07-14 15:12:42 +01:00
Kévin Gomez
f72ad1af74
Apply php-cs-fixer
2014-04-26 21:58:01 +01:00
Kévin Gomez
0571ac9a2d
Merge pull request #3 from johnarevalo/2.0
...
Use alias to avoid ambiguity for ModelBuildCommand class
2014-04-19 00:11:56 -04:00
Kévin Gomez
3af6f656a7
An error is raised if no valid bundle name is given to the FormGenerate command
2014-04-19 05:06:13 +01:00
Kévin Gomez
4b5da9363e
Give Propel's SqlInsertCommand the right value for the sql-dir parameter
2014-04-19 04:54:43 +01:00
John Arevalo
747a45b14f
Use alias to avoid ambiguity for ModelBuildCommand class
2014-02-27 15:23:11 -05:00
Kévin Gomez
0004c1761c
Added missing getFileLocator method in the fixtures load command
2014-01-09 13:11:43 +00:00
Kévin Gomez
10d0cb623f
Clearly indicate that the TableDrop command is MySQL only
2013-12-15 14:33:07 +00:00