Skip to content

Commit 00873d8

Browse files
authored
Visual changes for the privatemode ai dispaly (#351)
* Adds new field to message model * Submodule changes
1 parent a66e5db commit 00873d8

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
"""new message field
2+
3+
Revision ID: 9e606cf1f902
4+
Revises: 49122cddaf65
5+
Create Date: 2025-09-29 12:02:05.914392
6+
7+
"""
8+
from alembic import op
9+
import sqlalchemy as sa
10+
11+
12+
# revision identifiers, used by Alembic.
13+
revision = '9e606cf1f902'
14+
down_revision = '49122cddaf65'
15+
branch_labels = None
16+
depends_on = None
17+
18+
19+
def upgrade():
20+
# ### commands auto generated by Alembic - please adjust! ###
21+
op.add_column('message', sa.Column('additional_data', sa.JSON(), nullable=True), schema='cognition')
22+
# ### end Alembic commands ###
23+
24+
25+
def downgrade():
26+
# ### commands auto generated by Alembic - please adjust! ###
27+
op.drop_column('message', 'additional_data', schema='cognition')
28+
# ### end Alembic commands ###

0 commit comments

Comments
 (0)