string('type_of_customer_sub_category')->nullable()->after('type_of_customer'); // 👈 Nullable & added after 'email' }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('consumer_application_element', function (Blueprint $table) { $table->dropColumn('type_of_customer_sub_category'); }); } }