forked from FrederikBaerentsen/BrickTracker
Remove unused SQL initialize function
This commit is contained in:
parent
c075b525a8
commit
eaa14d2341
@ -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