langflow/src/backend/langflow/database/__init__.py
Gabriel Almeida 4958e5030a 🎉 feat(database): add database module with base and models modules
The database module has been added to the project, which includes the base and models modules. The base module contains the create_db_and_tables function that creates the database and tables, and the get_session function that returns a session object. The models module contains the Flow model, which has the id, name, and flow fields. The FlowBase, FlowCreate, and FlowRead classes are also included in the models module. These classes are used to define the schema for the Flow model.
2023-05-30 21:24:45 -03:00

0 lines
Python