Skip to content

Commit

Permalink
Merge pull request #1284 from symfony/postgresql-16
Browse files Browse the repository at this point in the history
Bump to PostgreSQL 16
  • Loading branch information
fabpot authored Jan 18, 2024
2 parents 8f46ee3 + 7aae68f commit 87ec057
Show file tree
Hide file tree
Showing 24 changed files with 32 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ doctrine:

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
#server_version: '16'

# only needed for MySQL
charset: utf8mb4
Expand Down
4 changes: 2 additions & 2 deletions doctrine/doctrine-bundle/1.12/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"#3": "",
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/db_name?serverVersion=8\"",
"DATABASE_URL": "postgresql://app:[email protected]:5432/db_name?serverVersion=15&charset=utf8"
"DATABASE_URL": "postgresql://app:[email protected]:5432/db_name?serverVersion=16&charset=utf8"
},
"dockerfile": [
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
Expand All @@ -24,7 +24,7 @@
"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
" environment:",
" POSTGRES_DB: ${POSTGRES_DB:-app}",
" # You should definitely change the password in production",
Expand Down
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/1.12/post-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Modify your DATABASE_URL config in <fg=green>.env</>

* Configure the <fg=green>driver</> (postgresql) and
<fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>
<fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/1.6/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ doctrine:

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
#server_version: '16'

# only needed for MySQL
charset: utf8mb4
Expand Down
4 changes: 2 additions & 2 deletions doctrine/doctrine-bundle/1.6/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"#3": "",
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8\"",
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
},
"dockerfile": [
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
Expand All @@ -24,7 +24,7 @@
"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
" environment:",
" POSTGRES_DB: ${POSTGRES_DB:-app}",
" # You should definitely change the password in production",
Expand Down
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/1.6/post-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Modify your DATABASE_URL config in <fg=green>.env</>

* Configure the <fg=green>driver</> (postgresql) and
<fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>
<fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.0/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ doctrine:

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
#server_version: '16'
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
Expand Down
4 changes: 2 additions & 2 deletions doctrine/doctrine-bundle/2.0/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"#3": "",
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8\"",
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
},
"dockerfile": [
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
Expand All @@ -24,7 +24,7 @@
"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
" environment:",
" POSTGRES_DB: ${POSTGRES_DB:-app}",
" # You should definitely change the password in production",
Expand Down
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.0/post-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Modify your DATABASE_URL config in <fg=green>.env</>

* Configure the <fg=green>driver</> (postgresql) and
<fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>
<fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ doctrine:

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
#server_version: '16'

profiling_collect_backtrace: '%kernel.debug%'
orm:
Expand Down
4 changes: 2 additions & 2 deletions doctrine/doctrine-bundle/2.10/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
"#6": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
},
"dockerfile": [
"RUN install-php-extensions pdo_pgsql"
Expand All @@ -22,7 +22,7 @@
"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
" environment:",
" POSTGRES_DB: ${POSTGRES_DB:-app}",
" # You should definitely change the password in production",
Expand Down
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.10/post-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Modify your DATABASE_URL config in <fg=green>.env</>

* Configure the <fg=green>driver</> (postgresql) and
<fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>
<fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.3/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ doctrine:

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
#server_version: '16'
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
Expand Down
4 changes: 2 additions & 2 deletions doctrine/doctrine-bundle/2.3/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"#3": "",
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4\"",
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
},
"dockerfile": [
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
Expand All @@ -24,7 +24,7 @@
"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
" environment:",
" POSTGRES_DB: ${POSTGRES_DB:-app}",
" # You should definitely change the password in production",
Expand Down
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.3/post-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Modify your DATABASE_URL config in <fg=green>.env</>

* Configure the <fg=green>driver</> (postgresql) and
<fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>
<fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.4/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ doctrine:

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
#server_version: '16'
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
Expand Down
4 changes: 2 additions & 2 deletions doctrine/doctrine-bundle/2.4/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"#3": "",
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4\"",
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
},
"dockerfile": [
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
Expand All @@ -24,7 +24,7 @@
"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
" environment:",
" POSTGRES_DB: ${POSTGRES_DB:-app}",
" # You should definitely change the password in production",
Expand Down
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.4/post-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Modify your DATABASE_URL config in <fg=green>.env</>

* Configure the <fg=green>driver</> (postgresql) and
<fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>
<fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.8/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ doctrine:

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
#server_version: '16'
orm:
auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
Expand Down
4 changes: 2 additions & 2 deletions doctrine/doctrine-bundle/2.8/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
"#6": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
},
"dockerfile": [
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
Expand All @@ -25,7 +25,7 @@
"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
" environment:",
" POSTGRES_DB: ${POSTGRES_DB:-app}",
" # You should definitely change the password in production",
Expand Down
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.8/post-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Modify your DATABASE_URL config in <fg=green>.env</>

* Configure the <fg=green>driver</> (postgresql) and
<fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>
<fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.9/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ doctrine:

# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
#server_version: '16'
orm:
auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
Expand Down
4 changes: 2 additions & 2 deletions doctrine/doctrine-bundle/2.9/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
"#5": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
"#6": "DATABASE_URL=\"mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
"DATABASE_URL": "postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
},
"dockerfile": [
"RUN install-php-extensions pdo_pgsql"
Expand All @@ -22,7 +22,7 @@
"docker-compose.yml": {
"services": [
"database:",
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
" environment:",
" POSTGRES_DB: ${POSTGRES_DB:-app}",
" # You should definitely change the password in production",
Expand Down
2 changes: 1 addition & 1 deletion doctrine/doctrine-bundle/2.9/post-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* Modify your DATABASE_URL config in <fg=green>.env</>

* Configure the <fg=green>driver</> (postgresql) and
<fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>
<fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>

0 comments on commit 87ec057

Please sign in to comment.