Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Already found) Add to the migration:
$tableOptions = null;
if ($this->db->driverName === 'mysql') {
// http://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci
$tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci';
}
$this->createTable(
'tablename',
[
'id' => $this->primaryKey(),
//
],
$tableOptions
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question