1
0
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:
xiaochong0302 2023-08-02 17:18:25 +08:00
parent c0e44a76d0
commit 190117146f

View File

@ -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',