Skip to content

Added ability to request db versio, table engines + group requirements with 'one_of' condition#380

Open
SergeR wants to merge 2 commits intowebasyst:devfrom
SergeR:db-requirements
Open

Added ability to request db versio, table engines + group requirements with 'one_of' condition#380
SergeR wants to merge 2 commits intowebasyst:devfrom
SergeR:db-requirements

Conversation

@SergeR
Copy link
Contributor

@SergeR SergeR commented Oct 15, 2024

Database requirements:

[
  'db' => ['server'=>'MySQL, MariaDB', 'engine'=>'InnoDB'],
  'db.mysql' => ['version' => '>=5.6.4'],
  ['db.mariadb', ['version' => '>=10']
]

Group requirements

Testing is passed if at least one requirement item is passed testing

[
  [
    ['php', 'version' => '>=7.4'],
    ['php', 'version' => '<8.1']
  ],

  'one_of' => [
    'db.mysql' => ['version' => '>=8'],
    'db.mariadb' => ['version' => '>=10.1']
  ]
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant