Database migration tool, deduplication of sets data, customizable checkboxes #44

Merged
FrederikBaerentsen merged 51 commits from gregoo/BrickTracker:master into master 2025-01-24 19:12:12 +01:00
Showing only changes of commit 2908e80293 - Show all commits

View File

@ -24,20 +24,15 @@ class BrickSQLMigrationList(object):
'sql/migrations/*.sql'
)
print(path)
files = glob(path)
print(files)
for file in files:
try:
BrickSQLMigrationList.migrations.append(
BrickSQLMigration(file)
)
# Ignore file if error
except Exception as e:
print(e)
except Exception:
pass
# Get the sorted list of pending migrations