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.
27 lines
529 B
PHP
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
|
|
{
|
|
//
|
|
}
|
|
}
|