I wanted to change column comment in laravel5.4. So referring to the following URL, tried to implement.
Laravel 5.2 migration comment on column in migration
But migration doesn't change column comment. laravel 5.4 and db/dbal has a problem?
public function up()
{
Schema::table('search_columns', function (Blueprint $table) {
$table->string('japanese_name')->comment('internationalized_name');
$table->renameColumn('japanese_name', 'display_name');
});
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2uDCJvC
via IFTTT
Aucun commentaire:
Enregistrer un commentaire