-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #834 from TransformerOptimus/iteration_workflow
Iteration workflow
- Loading branch information
Showing
86 changed files
with
3,964 additions
and
1,344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
migrations/versions/2fbd6472112c_add_feed_group_id_to_execution_and_feed.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
"""add feed group id to execution and feed | ||
Revision ID: 2fbd6472112c | ||
Revises: 5184645e9f12 | ||
Create Date: 2023-08-01 17:09:16.183863 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '2fbd6472112c' | ||
down_revision = '5184645e9f12' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
op.add_column('agent_executions', | ||
sa.Column('current_feed_group_id', sa.String(), nullable=True, server_default="DEFAULT")) | ||
op.add_column('agent_execution_feeds', sa.Column('feed_group_id', sa.String(), nullable=True)) | ||
|
||
|
||
def downgrade() -> None: | ||
op.drop_column('agent_executions', 'current_feed_group_id') | ||
op.drop_column('agent_execution_feeds', 'feed_group_id') |
24 changes: 24 additions & 0 deletions
24
migrations/versions/5184645e9f12_add_question_to_agent_execution_.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
"""add question to agent execution permission | ||
Revision ID: 5184645e9f12 | ||
Revises: 9419b3340af7 | ||
Create Date: 2023-07-21 08:16:14.702389 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '5184645e9f12' | ||
down_revision = '9419b3340af7' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade() -> None: | ||
op.add_column('agent_execution_permissions', sa.Column('question', sa.Text(), nullable=True)) | ||
|
||
|
||
def downgrade() -> None: | ||
op.drop_column('agent_execution_permissions', "question") |
Oops, something went wrong.