Laravelのmigrationファイル(Blueprintクラス)ではデータ型の名前と同じや似たような名前のメソッドが用意されているので引数に指定した$tableからメソッドを呼び出すだけでOKです。 public function up() { Schema::create('users', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('email')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password'); $table->rememberToken(); $table->timestamps(); }); } ↓↓↓↓作成されるusers