db file
This commit is contained in:
parent
923fad7382
commit
dd7f622a67
2 changed files with 6 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -15,7 +15,7 @@ __pycache__
|
|||
.webassets-cache
|
||||
htmlcov
|
||||
test-reports
|
||||
tests/data
|
||||
tests/data/*.sqlite3
|
||||
|
||||
*.swo
|
||||
*.swp
|
||||
|
|
|
|||
|
|
@ -757,11 +757,11 @@ args = parser.parse_args()
|
|||
print("Selected path: ", args.sqlite_path)
|
||||
|
||||
if os.path.isdir(args.sqlite_path):
|
||||
file = "database.sqlite3"
|
||||
check_db_versions(os.path.join(args.sqlite_path, file))
|
||||
file = os.path.join(args.sqlite_path, "database.sqlite3")
|
||||
check_db_versions(file)
|
||||
if not args.extensions_only:
|
||||
print(f"Migrating: {os.path.join(args.sqlite_path, file)}")
|
||||
migrate_core(os.path.join(args.sqlite_path, file))
|
||||
print(f"Migrating: {file}")
|
||||
migrate_core(file)
|
||||
|
||||
if os.path.isdir(args.sqlite_path):
|
||||
files = [
|
||||
|
|
@ -776,7 +776,7 @@ for file in files:
|
|||
schema = filename.replace("ext_", "").split(".")[0]
|
||||
print(f"Migrating: {file}")
|
||||
migrate_ext(
|
||||
os.path.join(args.sqlite_path, file),
|
||||
file,
|
||||
schema,
|
||||
ignore_missing=args.skip_missing,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue