Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

В миграции "m000000_000003_I18n_init" ошибка, отсутствует "table options" #4

Open
e-repo opened this issue Oct 7, 2019 · 0 comments

Comments

@e-repo
Copy link

e-repo commented Oct 7, 2019

При импорте из csv файла возникают проблемы с кодировкой для русского языка. Нужно бы поправить.

$this->createTable('{{%source_message}}', [
'id' => $this->primaryKey()->comment('ID'),
'category' => $this->string()->comment(Yii::t('app', 'Категория сообщения')),
'message' => $this->text()->comment(Yii::t('app', 'Сообщение')),
'location' => $this->text()->comment(Yii::t('app', 'Местонахождение')),
'hash' => $this->string(32)->defaultValue('')->comment(Yii::t('app', 'Хеш сообщения')),
], --->tableOptions<---);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant