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.
This commit is contained in:
kurogeek committed 2026-10-15 11:06:06 +00:00
1 parent d38f9a1a83
commit abf482eeb0
14 files changed
+164 -394

No files matched your search

@@ -3,6 +3,7 @@
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Laravel\Sanctum\Sanctum;
class AppServiceProvider extends ServiceProvider
{
@@ -11,7 +12,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function register(): void
{
//
// Sanctum tokens are unused (only the stock /api/user route); prod has no personal_access_tokens table.
Sanctum::ignoreMigrations();
}
/**