Home > Mobile >  how to add a table comment in laravel migration
how to add a table comment in laravel migration

Time:04-27

enter image description here enter image description here

How can i add a comment Like this Comment. my Code:

$table->string('stock_type');

CodePudding user response:

$table->string('field')->comment('some comment');

CodePudding user response:

$table->string('stock_type')->comment('this is comment');
  • Related