1
I’m trying to add the zerofill
of MySQL
in the Migrations of Laravel
but I’m not succeeding. Can you tell me how to do this ?
Follow my sample code by editing a table by adding this tinyint field with zerofill:
Schema::table('tabela1', function (Blueprint $table) {
$table->tinyInteger('campo1')->zerofill()->unsigned()->nullable();
});