Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions backend/alembic/versions/053_update_chat.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"""empty message

Revision ID: 5755c0b95839
Revises: e408f8766753
Create Date: 2025-12-02 13:46:06.905576

"""
from alembic import op
import sqlalchemy as sa

revision = '5755c0b95839'
down_revision = 'e408f8766753'
branch_labels = None
depends_on = None


def upgrade():
op.add_column('chat', sa.Column('brief_generate', sa.Boolean(), nullable=True))
op.execute("UPDATE chat SET brief_generate = true WHERE brief_generate IS NULL")
with op.batch_alter_table('chat') as batch_op:
batch_op.alter_column('brief_generate',
server_default=sa.text('false'),
nullable=False)
# ### end Alembic commands ###


def downgrade():
op.drop_column('chat', 'brief_generate')
# ### end Alembic commands ###
2 changes: 1 addition & 1 deletion frontend/src/views/chat/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ onMounted(() => {
}

.quick_question {
width: calc(100% - 2px);
width: 100px;
position: absolute;
margin-left: 1px;
margin-top: 1px;
Expand Down