Commit graph

9 commits

Author SHA1 Message Date
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
Gregor Harlan 893c85c655 introduce "Bundle" namespace part 2016-02-11 19:31:44 +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
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 64ea15cd49 Cleaned commands 2013-11-24 16:36:58 +00:00
Kévin Gomez 224d00b50d Implemented DatabaseCreate command 2013-11-04 22:01:44 +00:00