We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6762441 commit afa9b7cCopy full SHA for afa9b7c
tests/SchemaTest.php
@@ -356,7 +356,7 @@ public function testRenameColumn(): void
356
$this->assertArrayNotHasKey('test', $check[2]);
357
$this->assertArrayNotHasKey('newtest', $check[2]);
358
359
- Schema::create('newcollection', function (Blueprint $collection) {
+ Schema::collection('newcollection', function (Blueprint $collection) {
360
$collection->renameColumn('test', 'newtest');
361
});
362
0 commit comments