seven 1 nedēļu atpakaļ
vecāks
revīzija
db518a3ed2

+ 37 - 0
database/migrations/2025_11_12_162239_insert_config.php

@@ -0,0 +1,37 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Support\Facades\DB;
+
+return new class extends Migration {
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+       DB::table('config')->insert([
+            [
+                'field' => 'three_payment_switch',
+                'val' => "1",
+                'remark' => '三方支付提现开关(1:开启 0:关闭)',
+                'group_id' => 1,
+                'created_at' => now(),
+                'updated_at' => now(),
+            ],
+        ]);
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        //
+    }
+};