Refactor imports and formatting in various Filament resources; add SMS sending helper function

This commit is contained in:
2025-09-22 16:31:13 +05:00
parent 60afe0c441
commit f14defeebd
27 changed files with 251 additions and 85 deletions

View File

@@ -0,0 +1,30 @@
<?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
{
Schema::table('users', function (Blueprint $table) {
$table->softDeletes()->after('updated_at');
$table->json('meta')->nullable()->after('remember_token');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('users', function (Blueprint $table) {
$table->dropSoftDeletes();
$table->dropColumn('meta');
});
}
};