change database structure for initial recording of individual persons

This commit is contained in:
2026-06-17 09:45:26 +02:00
parent 44402af0b7
commit 4a1d5d4647
3 changed files with 28 additions and 8 deletions

View File

@@ -30,8 +30,8 @@ engine = sql.create_engine(f"sqlite:///{str(db_path)}")
engine_crm = sql.create_engine(f"sqlite:///{str(crm_path)}")
# %%
stmt = sql.select(
db.grunderfassung_unternehmen.c.erfassung_id,
db.grunderfassung_unternehmen.c.Partnersuche__un_suche,
db.grunderfassung.c.erfassung_id,
db.grunderfassung.c.Partnersuche__un_suche,
)
with engine.connect() as conn:
@@ -44,7 +44,7 @@ for r in res:
# %%
backend.get_company_list()
backend.front_get_company_list()
# %%