Ken hace 12 horas
padre
commit
9f330ab0de
Se han modificado 1 ficheros con 38 adiciones y 0 borrados
  1. 38 0
      database/migrations/2026_02_05_163846_insert_config.php

+ 38 - 0
database/migrations/2026_02_05_163846_insert_config.php

@@ -0,0 +1,38 @@
+<?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' => 'benefits_bibi_return',
+                'val' => "每一笔投注都可享返利,长期有效",
+                'remark' => '笔笔返利',
+                'group_id' => 1,
+                'created_at' => now(),
+                'updated_at' => now(),
+            ]
+        ]);
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        //
+    }
+};