Files
think-greaterchiangmai/think-backend.greaterchiangmai.com/app/Providers/AppServiceProvider.php
T
kurogeek abf482eeb0 Replace dev/schema.sql with Laravel migrations in the backend
Baseline migration reproduces the production dump byte-for-byte (verified via
mariadb-dump diff); creates are hasTable-guarded so prod only records it.
Drop stock Laravel migrations that contradict prod and Sanctum's bundled one.
2026-10-15 11:06:06 +00:00

27 lines
529 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Laravel\Sanctum\Sanctum;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
// Sanctum tokens are unused (only the stock /api/user route); prod has no personal_access_tokens table.
Sanctum::ignoreMigrations();
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//
}
}