Database migration tool, deduplication of sets data, customizable checkboxes #44
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user