Flowise
Flowise copied to clipboard
fix: allow non-UUID sessionId by changing column type to varchar
This change updates the sessionId column in the Execution entity from uuid to varchar, allowing strings (e.g. phone number, email, custom IDs) to be used as session identifiers without errors.
While this behavior already works when using a Chatflow, Agentflow relies on the execution table — which previously enforced a UUID type. As a result, sending a string would cause the following error:
QueryFailedError: invalid input syntax for type uuid: "some_string"
This change fixes that inconsistency without breaking any existing functionality.