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 eaa14d2341 - Show all commits

View File

@ -345,14 +345,6 @@ class BrickSQL(object):
# Info # Info
logger.info('The database has been dropped') logger.info('The database has been dropped')
# Initialize the database
@staticmethod
def initialize() -> None:
BrickSQL().executescript('migrations/init')
# Info
logger.info('The database has been initialized')
# Replace the database with a new file # Replace the database with a new file
@staticmethod @staticmethod
def upload(file: FileStorage, /) -> None: def upload(file: FileStorage, /) -> None: