Vibe coded a bit more ... now we have session, attached picture and analysis, MOA group computation

This commit is contained in:
Gérald Colangelo
2026-03-17 17:20:54 +01:00
parent 120dc70cf5
commit 5b18fadb60
55 changed files with 5419 additions and 59 deletions

View File

@@ -0,0 +1,32 @@
"""session_photo annotations
Revision ID: d46dc696b3c3
Revises: 03057ef71b9c
Create Date: 2026-03-17 15:35:22.180323
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'd46dc696b3c3'
down_revision = '03057ef71b9c'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('session_photos', schema=None) as batch_op:
batch_op.add_column(sa.Column('annotations', sa.JSON(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('session_photos', schema=None) as batch_op:
batch_op.drop_column('annotations')
# ### end Alembic commands ###