Here we will make mysql longtext datatype migration. what is the capacity of data store by longtext column.
Laravel longText datatype migration
Laravel migration longText() method create LONGTEXT equivalent column. mysql longtext datatype column store maximum 4,294,967,295 characters data.
public function up() { Schema::create('users', function (Blueprint $table) { $table->longText('payload'); }); }
Read Also : Laravel union of two queries