Well, I don't have a good answer for you, but at least it works.
Here he is:
public function up() { $tableName = 'vendors'; Schema::create($tableName, function (Blueprint $table) { $table->increments('id'); $table->string('vendor', 255)->comment('Some comment.'); $table->timestamps(); }); DB::statement("ALTER TABLE `$tableName` comment 'My comment'"); }
Just add a DB statement after creating the table.
Fabio antunes
source share