#!/usr/bin/env php load(); try { echo "Starting database migrations...\n\n"; Database::runMigrations(__DIR__ . '/database/migrations'); echo "\n✓ All migrations completed successfully!\n"; } catch (Exception $e) { echo "\n✗ Migration failed: " . $e->getMessage() . "\n"; exit(1); }