🔍 Migration Status

query("SHOW TABLES LIKE 'migrations'")->fetchAll(); if (empty($tables)) { echo '

❌ Migrations table does not exist yet!

'; echo '

This means migrate.php has not run successfully.

'; } else { echo '

✅ Migrations table exists

'; // Get all ran migrations $ranMigrations = $pdo->query("SELECT * FROM migrations ORDER BY ran_at DESC")->fetchAll(); if (empty($ranMigrations)) { echo '

⚠️ No migrations have been run yet!

'; } else { echo '

✅ ' . count($ranMigrations) . ' migration(s) have been run

'; } } } catch (PDOException $e) { echo '

❌ Database Error: ' . htmlspecialchars($e->getMessage()) . '

'; } ?>

Migrations Run

ID Migration Run At

Available Migration Files

No migration files found in /migrations directory

'; } else { echo ''; } } else { echo '

Migrations directory not found

'; } ?>

Database Connection Info

Host:

Port:

Database:

Username:

Password: