$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?
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
$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?