diff --git a/alembic/versions/9e606cf1f902_new_message_field.py b/alembic/versions/9e606cf1f902_new_message_field.py new file mode 100644 index 00000000..3947cb34 --- /dev/null +++ b/alembic/versions/9e606cf1f902_new_message_field.py @@ -0,0 +1,28 @@ +"""new message field + +Revision ID: 9e606cf1f902 +Revises: 49122cddaf65 +Create Date: 2025-09-29 12:02:05.914392 + +""" +from alembic import op +import sqlalchemy as sa + + +# revision identifiers, used by Alembic. +revision = '9e606cf1f902' +down_revision = '49122cddaf65' +branch_labels = None +depends_on = None + + +def upgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.add_column('message', sa.Column('additional_data', sa.JSON(), nullable=True), schema='cognition') + # ### end Alembic commands ### + + +def downgrade(): + # ### commands auto generated by Alembic - please adjust! ### + op.drop_column('message', 'additional_data', schema='cognition') + # ### end Alembic commands ### diff --git a/submodules/model b/submodules/model index 9a8b5bb7..256734ff 160000 --- a/submodules/model +++ b/submodules/model @@ -1 +1 @@ -Subproject commit 9a8b5bb7fd05d2b6800358e25d9d9c0403375924 +Subproject commit 256734ffd3bc6373c698638bdb179b04afef2159