BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
app.imagivibe.com
/
database
/
migrations
📤 Upload
📝 New File
📁 New Folder
Close
Editing: 2025_05_02_120212_change_name_in_dashboard_widgets.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. */ public function up(): void { DB::table('dashboard_widgets') ->where('name', 'api-cost-distrubition') ->update(['name' => 'api-cost-distribution']); } /** * Reverse the migrations. */ public function down(): void { Schema::table('dashboard_widgets', function (Blueprint $table) { // }); } };
Save
Cancel