W3cubDocs

/Laravel 8

DatabaseMigrations

trait DatabaseMigrations (View source)

Methods

void runDatabaseMigrations()

Define hooks to migrate the database before and after each test.

Details

void runDatabaseMigrations()

Define hooks to migrate the database before and after each test.

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Foundation/Testing/DatabaseMigrations.html