refactor: 视频信息分类添加软件删除

This commit is contained in:
2025-02-21 15:35:51 +08:00
parent ad831bb8cb
commit 4999b04005
3 changed files with 10 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ class CreateVideoCategory extends Migrator
->addColumn('is_show', 'boolean', ['null' => false, 'default' => 1, 'comment' => '是否显示:1是,0否'])
->addColumn('created_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP', 'comment' => '创建时间'])
->addColumn('updated_at', 'timestamp', ['null' => false, 'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP', 'comment' => '更新时间'])
->addColumn('deleted_at', 'timestamp', ['null' => true, 'default' => null, 'comment' => '删除时间'])
->create();
}
}