We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
->addColumn('content', 'string', ['encoding' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci']) 在php think migrate:run时 报错: [RuntimeException] "encoding" is not a valid column option.
->addColumn('content', 'string', ['encoding' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci'])
php think migrate:run
[RuntimeException]
"encoding" is not a valid column option.
think-migration version: 1.* thinkphp version: 5.0.14
phinx官方文档上说string有encoding选项 http://docs.phinx.org/en/latest/migrations.html#valid-column-options
The text was updated successfully, but these errors were encountered:
No branches or pull requests
->addColumn('content', 'string', ['encoding' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci'])
在
php think migrate:run
时报错:
[RuntimeException]
"encoding" is not a valid column option.
think-migration version: 1.*
thinkphp version: 5.0.14
phinx官方文档上说string有encoding选项

http://docs.phinx.org/en/latest/migrations.html#valid-column-options
The text was updated successfully, but these errors were encountered: