exec($sql); echo "Migration successful: 'photo' column added to 'users' table." . PHP_EOL; } catch (PDOException $e) { die("Migration failed: " . $e->getMessage() . PHP_EOL); }