mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-06 11:25:33 +01:00
feat: opt-in to the new database credentials
Allow for changing the default database name, username and password from `drupal` to `app` by enabling the `experimental.useNewDatabaseCredentials` feature flag in a project's `build.yaml` file. Refs: OD-27
This commit is contained in:
parent
bb4f630bd5
commit
fb63a6c245
3 changed files with 18 additions and 0 deletions
|
@ -32,6 +32,15 @@ final class ConfigurationData
|
|||
)]
|
||||
public array $drupal;
|
||||
|
||||
/**
|
||||
* @var array<string,string|null>
|
||||
*/
|
||||
#[Assert\Collection(
|
||||
allowExtraFields: false,
|
||||
fields: ['useNewDatabaseCredentials' => new Assert\Type('boolean')]
|
||||
)]
|
||||
public array $experimental;
|
||||
|
||||
#[Assert\Choice(choices: ['node', 'php'])]
|
||||
#[Assert\NotBlank]
|
||||
public string $language;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue