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.
2 parents 84b8373 + a8dc32a commit 47ca50cCopy full SHA for 47ca50c
src/Database/TestMigrations/create_users_table.php renamed to src/Database/TestMigrations/2014_10_12_000000_create_users_table.php
@@ -6,14 +6,14 @@
6
use Illuminate\Database\Schema\Blueprint;
7
use Illuminate\Support\Facades\Schema;
8
9
-class CreateUsersTable extends Migration
+return new class extends Migration
10
{
11
/**
12
* Run the migrations.
13
*
14
* @return void
15
*/
16
- public function up()
+ public function up(): void
17
18
Schema::create('users', function (Blueprint $table) {
19
$table->id();
@@ -31,7 +31,7 @@ public function up()
31
32
33
34
- public function down()
35
36
Schema::dropIfExists('users');
37
}
0 commit comments