Multiple database commands (DatabaseLogsCommand, DatabaseRestartCommand, DatabaseShellCommand, DatabaseStatusCommand) each maintain their own inline arrays of supported database types:
in_array($databaseType, ['mysql', 'mysql8', 'mariadb'])
in_array($databaseType, ['postgres', 'postgres13'])
This leads to inconsistencies — e.g. DatabaseLogsCommand is missing mariadb and postgres13. The type lists should be centralized in the InteractsWithDatabase trait.
Multiple database commands (
DatabaseLogsCommand,DatabaseRestartCommand,DatabaseShellCommand,DatabaseStatusCommand) each maintain their own inline arrays of supported database types:This leads to inconsistencies — e.g.
DatabaseLogsCommandis missingmariadbandpostgres13. The type lists should be centralized in theInteractsWithDatabasetrait.