diff --git a/open_notebook/database/async_migrate.py b/open_notebook/database/async_migrate.py index de24b07..f305758 100644 --- a/open_notebook/database/async_migrate.py +++ b/open_notebook/database/async_migrate.py @@ -22,7 +22,7 @@ class AsyncMigration: @classmethod def from_file(cls, file_path: str) -> "AsyncMigration": """Create migration from SQL file.""" - with open(file_path, "r") as file: + with open(file_path, "r", encoding="utf-8") as file: raw_content = file.read() # Clean up SQL content lines = []