3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
6 return new class extends Migration
15 Schema::create('images', function (Blueprint $table) {
16 $table->increments('id');
17 $table->string('name');
18 $table->string('url');
19 $table->nullableTimestamps();
24 * Reverse the migrations.
28 public function down()
30 Schema::drop('images');