Laravel 3 Schema Table Column Collation

前端 未结 5 2096
耶瑟儿~
耶瑟儿~ 2021-02-06 19:44

I\'m learning laravel, and I\'m stuck on a simple process. I want the tables to be generated as UTF-8 but varchar and text fields are like latin-1.

Schema section in gui

5条回答
  •  后悔当初
    2021-02-06 20:24

    Support for MySQL character sets and collation has been added to Laravel 4 . Check this example.

    https://github.com/laravel/laravel/pull/897

提交回复
热议问题