use Whilesmart\SchemaConformance\Testing\SchemaConformanceAssertions;
class SchemaConformanceTest extends TestCase
{
use SchemaConformanceAssertions;
public function test_schema(): void
{
$this->assertSchemaConformant();
$this->assertAlteredColumnsDeclared(database_path('migrations'));
$this->assertModelAttributesHaveColumns(/* your models */);
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.