1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-30 14:14:55 +08:00
course-tencent-cloud/db/migrations/20230625182830.php
xiaochong0302 b519fd4d6d 1.去除腾讯验证码
2.使用本地验证码
2023-06-25 18:48:55 +08:00

27 lines
542 B
PHP

<?php
/**
* @copyright Copyright (c) 2023 深圳市酷瓜软件有限公司
* @license https://opensource.org/licenses/GPL-2.0
* @link https://www.koogua.com
*/
use Phinx\Migration\AbstractMigration;
final class V20230625182830 extends AbstractMigration
{
public function up()
{
$this->deleteCaptchaSettings();
}
protected function deleteCaptchaSettings()
{
$this->getQueryBuilder()
->delete('kg_setting')
->where(['section' => 'captcha'])
->execute();
}
}