From 438f01ef2f7d0c74d110a1d45255594d7f55fd2b Mon Sep 17 00:00:00 2001 From: koogua Date: Fri, 31 Dec 2021 09:37:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E9=85=8D=E7=BD=AE=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0region=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrations/20211231013226.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 db/migrations/20211231013226.php diff --git a/db/migrations/20211231013226.php b/db/migrations/20211231013226.php new file mode 100644 index 00000000..a3f35979 --- /dev/null +++ b/db/migrations/20211231013226.php @@ -0,0 +1,27 @@ +handleSmsSetting(); + } + + protected function handleSmsSetting() + { + $row = + [ + [ + 'section' => 'sms', + 'item_key' => 'region', + 'item_value' => 'ap-guangzhou', + ] + ]; + + $this->table('kg_setting')->insert($row)->save(); + } + +}