exec($sql); echo "Migration 005_create_certificates_table executed successfully." . PHP_EOL; } catch (PDOException $e) { die("Could not connect to the database: " . $e->getMessage()); }