mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-25 12:09:09 +08:00
优化tag表migration
This commit is contained in:
parent
c0e44a76d0
commit
190117146f
@ -141,7 +141,7 @@ final class V20210720153027 extends AbstractMigration
|
|||||||
if (!$table->hasColumn('scopes')) {
|
if (!$table->hasColumn('scopes')) {
|
||||||
$table->addColumn('scopes', 'string', [
|
$table->addColumn('scopes', 'string', [
|
||||||
'null' => false,
|
'null' => false,
|
||||||
'default' => '',
|
'default' => 'all',
|
||||||
'limit' => 100,
|
'limit' => 100,
|
||||||
'collation' => 'utf8mb4_general_ci',
|
'collation' => 'utf8mb4_general_ci',
|
||||||
'encoding' => 'utf8mb4',
|
'encoding' => 'utf8mb4',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user