Skip to content
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

feat: add 'tags' column to 'flow' table and update models #3986

Merged
merged 6 commits into from
Oct 3, 2024

Conversation

ogabrielluiz
Copy link
Contributor

  • Added migration script to include 'tags' column in 'flow' table.
  • Updated Flow model to include tags field.
  • Introduced Tags enum in schema.py for predefined tag values.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Oct 1, 2024
@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Oct 1, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3986.dmtpw4p5recq1.amplifyapp.com

Copy link
Collaborator

@lucaseduoli lucaseduoli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 2, 2024
@ogabrielluiz ogabrielluiz force-pushed the feat/add-tags-columns branch from ceb2f58 to 5b8958c Compare October 3, 2024 15:55
@ogabrielluiz ogabrielluiz force-pushed the feat/add-tags-columns branch from 99ba9cd to c09a96c Compare October 3, 2024 18:03
@ogabrielluiz ogabrielluiz merged commit b6546e4 into main Oct 3, 2024
28 checks passed
@ogabrielluiz ogabrielluiz deleted the feat/add-tags-columns branch October 3, 2024 18:20
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
…i#3986)

* Add 'tags' column to 'flow' table and update models

- Added migration script to include 'tags' column in 'flow' table.
- Updated `Flow` model to include `tags` field.
- Introduced `Tags` enum in `schema.py` for predefined tag values.

* Update `tags` column to use JSON type in Flow model

* Add conditional checks for 'tags' column in Alembic migration script

* Make 'tags' field nullable in Flow model

* Add default value for 'tags' field in Flow model

* Update default values for 'tags' field in Flow model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants