-
Notifications
You must be signed in to change notification settings - Fork 955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data persistence with SQLAlchemyDataLayer possibility to change default schema public #1519
Comments
The For example, you can modify your PostgreSQL connection string to include a specific schema by using the
Regarding the If you need further customization, you might need to extend or modify the |
@dosu You're confusing the Postgres for the SQLAlchemy conneciton string. |
@cesi08 It's not currently supported functionality but we're open to receiving a PR, particularly if there's unit test coverage. |
To specify a schema in SQLAlchemy, you typically define it in your table models using the Here's how you can modify your connection string to set the
This approach uses the |
I followed the following documentation to have chat and feedback persistence
https://docs.chainlit.io/data-persistence/custom
Below I report the code of my app and the requirements
requirements
by default sql alchemy uses the public schema is there the possibility to specify the schema? because inside chainlit.data.sql_alchemy SQLAlchemyDataLayer there is no option to customize it
another thing I noticed is that the steps table must have the column
disableFeedback" bool NULL
because otherwise you always get the following error
@dokterbob @dosu
The text was updated successfully, but these errors were encountered: