trait InteractsWithMigrations

internal  
 

Properties

protected MigrateProcessor> $cachedTestMigratorProcessors

Methods

void
setUpInteractsWithMigrations()

No description

void
void
loadMigrationsFrom(array|string $paths)

No description

bool
shouldRegisterMigrationPaths()

Determine whether migration paths should be registered for an upcoming migration.

array
resolvePackageMigrationsOptions(array|string $paths = [])

No description

void
loadHypervelMigrations(array|string $database = [])

Migrate Hypervel's default migrations.

void
runHypervelMigrations(array|string $database = [])

Migrate all Hypervel migrations.

array
resolveHypervelMigrationsOptions(array|string $database = [])

No description

void
runMigrationProcessor(Application $app, array $options)

Run and retain a migration processor for teardown.

bool
usesInMemoryDatabaseForMigrationState()

Determine whether the active database concerns retain in-memory state.

void

Details

at line 33
protected void setUpInteractsWithMigrations()

No description

Return Value

void

at line 41
protected void tearDownInteractsWithMigrations()

No description

Return Value

void

at line 83
protected void loadMigrationsFrom(array|string $paths)

No description

Parameters

array|string $paths

Return Value

void

at line 105
protected bool shouldRegisterMigrationPaths()

Determine whether migration paths should be registered for an upcoming migration.

Return Value

bool

at line 137
protected array resolvePackageMigrationsOptions(array|string $paths = [])

internal  
 

No description

Parameters

array|string $paths

Return Value

array

at line 157
protected void loadHypervelMigrations(array|string $database = [])

Migrate Hypervel's default migrations.

Parameters

array|string $database

Return Value

void

at line 176
protected void runHypervelMigrations(array|string $database = [])

Migrate all Hypervel migrations.

Parameters

array|string $database

Return Value

void

at line 190
protected array resolveHypervelMigrationsOptions(array|string $database = [])

internal  
 

No description

Parameters

array|string $database

Return Value

array

at line 200
protected void runMigrationProcessor(Application $app, array $options)

Run and retain a migration processor for teardown.

Parameters

Application $app
array $options

Return Value

void

at line 228
protected bool usesInMemoryDatabaseForMigrationState()

Determine whether the active database concerns retain in-memory state.

Return Value

bool

at line 245
protected void resetApplicationArtisanCommands(Application $app)

No description

Parameters

Application $app

Return Value

void