mirror of https://gitlab.com/KKlochko/tui-rsync
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
351 B
10 lines
351 B
from peewee import SqliteDatabase
|
|
from .database_manager import DatabaseManager
|
|
from ...core.ports.configuration import UserDataPathsPort
|
|
|
|
|
|
class SqliteDatabaseManager(DatabaseManager):
|
|
def __init__(self, user_data_paths: UserDataPathsPort):
|
|
filepath = user_data_paths.get_user_db_path()
|
|
super().__init__(SqliteDatabase(filepath))
|