exec($sql); echo "Database migration successful!"; } catch (PDOException $e) { die("Database migration failed: " . $e->getMessage()); } ?>