aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-12-13 13:50:15 +0100
committerGitHub <noreply@github.com>2017-12-13 13:50:15 +0100
commit70265817aee257e7e635eda79ce3e037e3b4a242 (patch)
tree597e166497ba87778f48053cb4c7747405e280b1 /app
parent08d6497c9cfeb107ff9781c46bac6368f3f92c9f (diff)
parent2e9747a59a6011622588829e4605af3710b61a21 (diff)
downloadwallabag-70265817aee257e7e635eda79ce3e037e3b4a242.tar.gz
wallabag-70265817aee257e7e635eda79ce3e037e3b4a242.tar.zst
wallabag-70265817aee257e7e635eda79ce3e037e3b4a242.zip
Merge pull request #3488 from wallabag/pg-10
Add custom driver & schema manager for PostgreSQL 10
Diffstat (limited to 'app')
-rw-r--r--app/config/config.yml1
-rw-r--r--app/config/config_test.yml1
-rw-r--r--app/config/parameters.yml.dist2
-rw-r--r--app/config/tests/parameters_test.mysql.yml1
-rw-r--r--app/config/tests/parameters_test.pgsql.yml1
-rw-r--r--app/config/tests/parameters_test.sqlite.yml1
6 files changed, 7 insertions, 0 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 08da4f8f..04d757c1 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -47,6 +47,7 @@ twig:
47doctrine: 47doctrine:
48 dbal: 48 dbal:
49 driver: "%database_driver%" 49 driver: "%database_driver%"
50 driver_class: "%database_driver_class%"
50 host: "%database_host%" 51 host: "%database_host%"
51 port: "%database_port%" 52 port: "%database_port%"
52 dbname: "%database_name%" 53 dbname: "%database_name%"
diff --git a/app/config/config_test.yml b/app/config/config_test.yml
index c620c359..fc067ff4 100644
--- a/app/config/config_test.yml
+++ b/app/config/config_test.yml
@@ -23,6 +23,7 @@ swiftmailer:
23doctrine: 23doctrine:
24 dbal: 24 dbal:
25 driver: "%test_database_driver%" 25 driver: "%test_database_driver%"
26 driver_class: "%test_database_driver_class%"
26 host: "%test_database_host%" 27 host: "%test_database_host%"
27 port: "%test_database_port%" 28 port: "%test_database_port%"
28 dbname: "%test_database_name%" 29 dbname: "%test_database_name%"
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist
index b5b97950..6b0cb8e8 100644
--- a/app/config/parameters.yml.dist
+++ b/app/config/parameters.yml.dist
@@ -11,6 +11,8 @@ parameters:
11 # database_password: %env.database_password% 11 # database_password: %env.database_password%
12 12
13 database_driver: pdo_mysql 13 database_driver: pdo_mysql
14 database_driver_class: ~
15 # database_driver_class: Wallabag\CoreBundle\Doctrine\DBAL\Driver\CustomPostgreSQLDriver
14 database_host: 127.0.0.1 16 database_host: 127.0.0.1
15 database_port: ~ 17 database_port: ~
16 database_name: wallabag 18 database_name: wallabag
diff --git a/app/config/tests/parameters_test.mysql.yml b/app/config/tests/parameters_test.mysql.yml
index 36b227fb..0b7b82eb 100644
--- a/app/config/tests/parameters_test.mysql.yml
+++ b/app/config/tests/parameters_test.mysql.yml
@@ -1,5 +1,6 @@
1parameters: 1parameters:
2 test_database_driver: pdo_mysql 2 test_database_driver: pdo_mysql
3 test_database_driver_class: ~
3 test_database_host: localhost 4 test_database_host: localhost
4 test_database_port: 3306 5 test_database_port: 3306
5 test_database_name: wallabag_test 6 test_database_name: wallabag_test
diff --git a/app/config/tests/parameters_test.pgsql.yml b/app/config/tests/parameters_test.pgsql.yml
index 60f51df6..ea249324 100644
--- a/app/config/tests/parameters_test.pgsql.yml
+++ b/app/config/tests/parameters_test.pgsql.yml
@@ -1,5 +1,6 @@
1parameters: 1parameters:
2 test_database_driver: pdo_pgsql 2 test_database_driver: pdo_pgsql
3 test_database_driver_class: Wallabag\CoreBundle\Doctrine\DBAL\Driver\CustomPostgreSQLDriver
3 test_database_host: localhost 4 test_database_host: localhost
4 test_database_port: 5 test_database_port:
5 test_database_name: wallabag_test 6 test_database_name: wallabag_test
diff --git a/app/config/tests/parameters_test.sqlite.yml b/app/config/tests/parameters_test.sqlite.yml
index 2b92d579..64cd984b 100644
--- a/app/config/tests/parameters_test.sqlite.yml
+++ b/app/config/tests/parameters_test.sqlite.yml
@@ -1,5 +1,6 @@
1parameters: 1parameters:
2 test_database_driver: pdo_sqlite 2 test_database_driver: pdo_sqlite
3 test_database_driver_class: ~
3 test_database_host: localhost 4 test_database_host: localhost
4 test_database_port: 5 test_database_port:
5 test_database_name: ~ 6 test_database_name: ~