Tuesday, 18 June 2019

Laravel change MYSQL charset && collation in migration



public function up()
{
Schema::create('test', function (Blueprint $table) {
$table->charset = 'utf8';
$table->collation = 'utf8_bin';

No comments:

Post a Comment