1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-07-10 10:40:03 +08:00
course-tencent-cloud/db/migrations/20211231013226.php
2021-12-31 09:40:51 +08:00

28 lines
509 B
PHP

<?php
use Phinx\Migration\AbstractMigration;
final class V20211231013226 extends AbstractMigration
{
public function up()
{
$this->handleSmsSetting();
}
protected function handleSmsSetting()
{
$row =
[
[
'section' => 'sms',
'item_key' => 'region',
'item_value' => 'ap-guangzhou',
]
];
$this->table('kg_setting')->insert($row)->save();
}
}