From 1c4fe239aa884c927803a6e60271df28998188cf Mon Sep 17 00:00:00 2001 From: Nathan Cooper Date: Fri, 6 Feb 2026 10:49:41 -0500 Subject: [PATCH] err --- fastmigrate/core.py | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fastmigrate/core.py b/fastmigrate/core.py index a74b354..2124fb2 100644 --- a/fastmigrate/core.py +++ b/fastmigrate/core.py @@ -630,6 +630,9 @@ def run_migrations( Returns True if all migrations succeed, False otherwise. """ migrations_dir = Path(migrations_dir) + if not migrations_dir.exists(): + print(f"Error: Migrations directory does not exist: {migrations_dir}", file=stderr) + return False # Custom backend mode via migrations/config.py try: diff --git a/pyproject.toml b/pyproject.toml index 89218d4..4727765 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ [project.optional-dependencies] dev = [ - "fastship>=0.0.7", + "fastship>=0.0.6", "pytest>=7.0.0", "mypy>=1.0.0", "pytest-mock>=3.15.1",