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' 'sql/migrations/*.sql'
) )
print(path)
files = glob(path) files = glob(path)
print(files)
for file in files: for file in files:
try: try:
BrickSQLMigrationList.migrations.append( BrickSQLMigrationList.migrations.append(
BrickSQLMigration(file) BrickSQLMigration(file)
) )
# Ignore file if error # Ignore file if error
except Exception as e: except Exception:
print(e)
pass pass
# Get the sorted list of pending migrations # Get the sorted list of pending migrations