-
Notifications
You must be signed in to change notification settings - Fork 5k
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
What should I do if I want to change the table structure in the Langflow database #5798
Comments
To add a new table for storing custom workflow running records and modify the
Langflow supports customizing and modifying the database schema through these steps, allowing you to tailor the database to your specific needs [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
If I create a new migration script. how does the langflow load it ? @dosu |
Langflow loads and applies new migration scripts using Alembic. When you create a new migration script, it is stored in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
I don't want to change anything in langflow directory. I want to put the migration scripts in my own directory. What should I do in this situation to make Langflow load my modifications to the langflow database? @dosu |
To make Langflow load migration scripts from your own directory instead of the default Langflow directory, you need to modify the [alembic]
# path to migration scripts
script_location = /path/to/your/migration/scripts Replace To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
I have the following requirements
flow
table to allow different flows to use the same nameDoes Langflow support users to customize and modify databases?
@dosu
The text was updated successfully, but these errors were encountered: