From edfcc3f74b8b50b57cd3545f58320706eaa26a28 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 28 Feb 2025 14:39:38 +0500 Subject: [PATCH] ifc2sql - change default database name to match default sql_type Co-Authored-By: bsmithuk <68438529+bsmithuk@users.noreply.github.com> --- src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py b/src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py index 4df753cc5d..90ac909e3e 100644 --- a/src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py +++ b/src/ifcpatch/ifcpatch/recipes/Ifc2Sql.py @@ -68,7 +68,7 @@ class Patcher: host: str = "localhost", username: str = "root", password: str = "pass", - database: str = f"{DEFAULT_DATABASE_NAME}.db", + database: str = f"{DEFAULT_DATABASE_NAME}.sqlite", full_schema: bool = True, is_strict: bool = False, should_expand: bool = False, @@ -82,7 +82,7 @@ class Patcher: :param sql_type: Choose between "SQLite" or "MySQL" :param database: Database path to save the SQL database to (already existing or not). Could also be a directory, then the database will be stored - using default filename (e.g. 'database.db'). + using default filename (e.g. 'database.sqlite'). :filter_glob database: *.db;*.sqlite :param full_schema: if True, will create tables for all IFC classes, regardless if they are used or not in the dataset. If False, will