exec($sql); echo "Migration to add is_admin to users table applied successfully." . PHP_EOL; } catch (PDOException $e) { die("Migration failed: " . $e->getMessage()); }