final class DatabaseQueueSchemaValidator (View source)

internal  
 

Rejects missing or pre-lease queue tables without attempting an implicit schema migration.

Methods

Creates a validator over the configured queue database connection.

void
assertCompatible(string $table, string $failedTable)

Verifies that both queue tables expose every column required by the authenticated lease lifecycle.

void
void
assertActiveCompatible(string $table)

Verifies that an existing active queue table exposes the complete lease-aware row contract.

void
void
assertFailedCompatible(string $failedTable)

Verifies that an existing failed-job table can preserve terminal delivery diagnostics.

void

Details

__construct

Creates a validator over the configured queue database connection.

assertCompatible

void assertCompatible(string $table, string $failedTable)

Verifies that both queue tables expose every column required by the authenticated lease lifecycle.

Parameters

string $table
string $failedTable

Return Value

void

assertActiveCompatible

void assertActiveCompatible(string $table)

Verifies that an existing active queue table exposes the complete lease-aware row contract.

Parameters

string $table

Return Value

void

assertFailedCompatible

void assertFailedCompatible(string $failedTable)

Verifies that an existing failed-job table can preserve terminal delivery diagnostics.

Parameters

string $failedTable

Return Value

void