exec($sql); echo "Migration successful."; } catch (PDOException $e) { echo "Migration failed: " . $e->getMessage(); }