fix: resolve issue with sqlite migration

This commit is contained in:
Igor Ilic 2025-11-06 16:47:42 +01:00
parent c146de3a4d
commit efb46c99f9

View file

@ -79,10 +79,6 @@ def upgrade() -> None:
dataset = _define_dataset_table()
user = _define_user_table()
print(insp.get_table_names())
print(_get_column(insp, "user_tenants", "tenant_id"))
if "user_tenants" not in insp.get_table_names():
# Define table with all necessary columns including primary key
user_tenants = op.create_table(