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