Skip to content

Issue with using Microsoft SQL Server #11364

@byzxc

Description

@byzxc

Bug Description

I am encountering errors when using an MSSQL database with ODBC Driver 18 for SQL Server.

The errors occur because the length of str fields is not specified in the model.py for each table. As a result, every field of type str in the models triggers an error.

Additionally, I am encountering errors because the id fields cannot be of type str or UUIDstr.

Reproduction

Connect to a MSSQL server database and try to run alembic to initialize database.

Expected behavior

Should initialize database successfully

Who can help?

No response

Operating System

Linux 22.0.4

Langflow Version

1.7.1

Python Version

None

Screenshot

No response

Flow File

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions