Stay Hungry
Tuesday, 18 June 2019
Laravel change MYSQL charset && collation in migration
https://github.com/laravel/framework/issues/8857
public
function
up
()
{
Schema
::
create
(
'test'
,
function
(
Blueprint
$table
) {
$table
->
charset
=
'utf8'
;
$table
->
collation
=
'utf8_bin'
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment