Commit Graph
133 Commits
Author SHA1 Message Date
laurent 3c8f870fb4 fix: doctrine bundle dockerfile run command 2023-12-10 10:19:42 +01:00
Théo DandGitHub 11095f4c8f fix(config): Add missing key "type" in doctrine.yaml config for version 2.10 (#1247) 2023-10-23 16:15:08 -04:00
Kévin DunglasandGitHub 874742e563 [doctrine-bundle] leverage install-php-extensions (#1206)
* [doctrine-bundle] leverage install-php-extensions

* ony in 2.9
2023-07-30 15:00:21 +02:00
Grégoire PineauandGitHub 2cf7ec6e8e [DoctrineBundle] Enable collect-backtrace for dev env (#1223) 2023-07-18 16:50:59 -04:00
Christophe Coevoet 8761452d54 Opt-in for the new driver validations for DoctrineBundle 2.10 2023-06-05 17:33:17 +02:00
e0f64dfe5f Add mariadb example to DATABASE_URL (#1186)
* Add mariadb example to DATABASE_URL

* Apply change requests

* Use same casing as in the doctrine/dbal mariadb docs

See https://github.com/doctrine/dbal/pull/5971

* Update doctrine/doctrine-bundle/2.8/manifest.json

Co-authored-by: Alexander M. Turek <me@derrabus.de>

* Use only major version for postgresql serverVersion

---------

Co-authored-by: Alexander M. Turek <me@derrabus.de>
2023-04-28 13:04:06 +02:00
rheraultandGitHub ab741d4b01 fix: adding quote to prevent word splitting
Based on hadolint docker, adding quote to $(nproc) to prevent word splitting
2023-03-02 18:41:39 +01:00
Fabien Potencier ff7d429ef5 Fix volume name 2023-01-24 13:07:03 +01:00
Kévin DunglasandGitHub cd90ff6aa2 [doctrine-bundle] make Docker volume name consistent (#1116) 2023-01-24 13:06:24 +01:00
Fabien PotencierandGitHub ead272834a Use PostgreSQL 15 by default (#1166) 2023-01-11 14:10:25 +01:00
Nicolas GrekasandGitHub 4684eb3505 Turn on "doctrine.orm.enable_lazy_ghost_objects" by default (#1140) 2023-01-10 10:40:09 -05:00
Fabien PotencierandGitHub 923757ec09 Merge pull request #1143 from symfony/Tobion-patch-1
Put doctrine proxies in build dir for production
2022-12-18 10:11:26 +01:00
Fabien PotencierandGitHub 65714dba32 Use PostgreSQL 14 everywhere (#1151) 2022-11-21 16:27:10 +01:00
Tobias SchultzeandGitHub 6f6ffe214f Put doctrine proxies in build dir for production
When auto_generate_proxy_classes: false is set, the proxies need to be pre-generated with the cache warmer. So in this case, the files are much better suited in the build dir. The build dir is the same as the cache dir by default. But for people trying to use the build dir properly, this makes much more sense. See https://github.com/symfony/symfony/issues/40827#issuecomment-820653578
2022-11-11 02:31:40 +01:00
Antoine MakdessiandGitHub 09525c4bef Address reviews 2022-08-29 13:08:57 +01:00
Antoine MakdessiandGitHub 2c135cf86c Doctrine Migration profiler disabled by default 2022-08-29 10:30:34 +02:00
Kévin DunglasandGitHub b3395a2477 [doctrine-bundle] Upgrade to Postgres 14 and MySQL 8 (#1115) 2022-08-05 10:01:11 +02:00
Nicolas Grekas 9a7f5bcebb Revert "Update spacing of doctrine yml files (#1018)"
This reverts commit ff11f17875.
2022-02-17 17:44:56 +01:00
Alexander SchranzandGitHub ff11f17875 Update spacing of doctrine yml files (#1018) 2022-02-17 17:01:23 +01:00
Nicolas GrekasandGitHub 803a504010 Skip recipe for doctrine/annotations when symfony/routing 6 is installed (#1060) 2022-02-17 13:46:21 +01:00
Grégoire ParisandGitHub f417ab2dcb Specify charset when using MySQL (#1059)
Because of backward-compatibility reasons, not specifying the charset
will result in "utf8" being used, which is a deprecated charset.
Also, when the charset for creating tables is not specified, the one
specified in the DSN is reused if specified.

In the future, DBAL is going to drop default values, which means we will
have to specify a charset anyway.
2022-02-16 11:04:53 +01:00
Nicolas Grekas 6cb5f0ee26 Conflict with fwb < 5.3 when@env 2022-02-12 11:52:53 +01:00
Ryan WeaverandGitHub ea6ade9061 Consolidating env-specific files into main config file for simplicity 2022-02-10 22:25:56 +01:00
Fabien PotencierandGitHub b16ba4a603 Merge pull request #971 from nicolas-grekas/db-type
Rely on defaults for doctrine mapping types
2021-12-22 08:03:01 +01:00
Fabien PotencierandGitHub 4e13583173 Merge pull request #1013 from Nek-/patch-2
DATABASE_URL configured like postgresql config
2021-10-23 08:46:16 +02:00
Maxime VeberandGitHub b1b582b732 feat: DATABSE_URL configured sync with postgresql
PostgreSQL is configured in docker-compose.yaml file in the same manifest but with another configuration.
The purpose of this commit is to make it ready by default to reduce what the user is supposed to change at install time.
2021-10-22 16:40:32 +02:00
SanderandGitHub 6d0b831af4 Add missing return type 2021-10-22 12:09:34 +02:00
Nicolas Grekas 3f6db031bc Rely on defaults for doctrine mapping types 2021-09-15 11:01:05 +02:00
Jan Haring - JAN.tm b294873ff1 Removed deprecated configuration key metadata_cache_driver from DoctrineBundle config for 2.3 and 2.4 2021-08-31 10:07:59 +02:00
Fabien Potencier 1aa7d46cb0 Remove the header from post-install files (handled by Flex now) 2021-08-30 12:25:28 +02:00
Nicolas Grekas a1a70353f6 Remove all symlinks 2021-07-07 16:12:10 +02:00
Nicolas Grekas be2898b8e4 Update note about server version 2021-05-10 19:24:06 +02:00
Jesse Rushlow 16733e837c [doctrine-bundle] add missing folders in 2.4 2021-05-10 05:07:36 -04:00
Nicolas Grekas 919704c8ed [doctrine/doctrine-bundle] Use dbname_suffix in tests 2021-04-24 19:44:27 +02:00
guillaumesmoandGitHub 0239c8231d Wrong comment in doctrine/doctrine-bundle 2.3 recipe
Unrecognized option "username" under "doctrine.dbal.connections.default"
2021-04-12 16:17:17 +02:00
Christopher Hertel eaec14546a enable new profiler of doctrine migrations bundle by default in development 2021-04-05 16:14:13 +02:00
symfony-flex-server[bot]andGitHub 2f9dc57a47 Merge pull request #900 2021-03-24 19:47:07 +00:00
Jesse Rushlow 0d5ad80a22 add paratest support 2021-03-23 11:08:40 -04:00
Jesse Rushlow 0b3e517e2e explain why we set dbname 2021-03-23 09:23:13 -04:00
Jesse Rushlow b8afbe9e4d override dbname in test 2021-03-23 08:52:33 -04:00
Marko KaznovacandGitHub 1600b8084c use && instead of ; to chain sh commands
this makes next command execute only if the prior one is successful, otherwise all commands will execute
2021-02-23 13:24:12 +01:00
Jesse Rushlow 97d75482ca add support for override_url 2021-02-18 08:30:42 -05:00
Vladimir Chernyshev 9d330892b2 [doctrine/doctrine-bundle/2.0] Update post-install.txt for postgresql 2021-02-07 22:21:39 +02:00
Fabien Potencier a652bd8c4e Revert "Merge pull request #852"
This reverts commit 4d482a4c98, reversing
changes made to 4761ed0006.
2020-11-30 10:12:29 +01:00
Fabien Potencier 05d798d019 Remove extra quotes 2020-11-30 10:02:45 +01:00
Ryan Weaver 5f2409a89d listing mysql, pgsql and sqlite DATABASE_URL examples in .env 2020-11-18 14:40:03 -05:00
Loïck PieraandGitHub 4a47af6315 Fix docker-compose database service name 2020-11-17 11:04:53 +01:00
Fabien Potencier 9730ab4ae7 Fix syntax 2020-11-17 10:15:50 +01:00
Fabien Potencier f3117928aa Fix typo 2020-11-17 09:46:18 +01:00
Fabien Potencier 1951e0b054 Rename db to database 2020-11-17 09:41:14 +01:00