Merge remote-tracking branch 'origin/main' into fix/ssl

This commit is contained in:
LUIS NOVO 2025-11-27 11:37:32 -03:00
commit 9c565aba96
2 changed files with 5 additions and 4 deletions

View file

@ -6084,10 +6084,11 @@
"dev": true "dev": true
}, },
"node_modules/js-yaml": { "node_modules/js-yaml": {
"version": "4.1.0", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"argparse": "^2.0.1" "argparse": "^2.0.1"
}, },

View file

@ -22,7 +22,7 @@ class AsyncMigration:
@classmethod @classmethod
def from_file(cls, file_path: str) -> "AsyncMigration": def from_file(cls, file_path: str) -> "AsyncMigration":
"""Create migration from SQL file.""" """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() raw_content = file.read()
# Clean up SQL content # Clean up SQL content
lines = [] lines = []