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(); + } + +}