-1
 $table->enum(column:'role',['admin','vendor','customer'])->default(value:'customer');

I just started learning php and am getting an php error ' Cannot use positional argument after named argument' in the above code . Anyone to help?

Progman
  • 14,690
  • 4
  • 32
  • 46

0 Answers0