Remove feature flag for different database credentials

This commit is contained in:
Oliver Davies 2024-02-12 19:58:08 +00:00
parent f602b6e1e6
commit 3d0a8215f9
4 changed files with 0 additions and 15 deletions

View file

@ -6,6 +6,5 @@ php:
experimental:
runStaticAnalysisOnTests: false
useNewDatabaseCredentials: true
project_root: /app

View file

@ -131,11 +131,6 @@ final class ConfigDto
'runStaticAnalysisOnTests' => new Assert\Optional([
new Assert\Type('bool'),
]),
// TODO: remove this when its been removed from all `build.yaml` files.
'useNewDatabaseCredentials' => new Assert\Optional([
new Assert\Type('bool'),
]),
],
)]
public array $experimental;

View file

@ -9,12 +9,6 @@ export COMPOSE_PROFILES=web,php,database
export DOCKER_WEB_VOLUME=.:{{ project_root }}
{% endif %}
{% if experimental.useNewDatabaseCredentials %}
export MYSQL_DATABASE=app
export MYSQL_PASSWORD=app
export MYSQL_USER=app
{% else %}
export MYSQL_DATABASE=drupal
export MYSQL_PASSWORD=drupal
export MYSQL_USER=drupal
{% endif %}

View file

@ -32,6 +32,3 @@ dockerfile:
- composer install
extra_directories:
- assets
experimental:
useNewDatabaseCredentials: true