Vibe coded a bit more ... now we have session, attached picture and analysis, MOA group computation
This commit is contained in:
32
migrations/versions/eb04fe02f528_session_is_public.py
Normal file
32
migrations/versions/eb04fe02f528_session_is_public.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""session is_public
|
||||
|
||||
Revision ID: eb04fe02f528
|
||||
Revises: 2b8adad5972b
|
||||
Create Date: 2026-03-17 10:13:53.102589
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'eb04fe02f528'
|
||||
down_revision = '2b8adad5972b'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('shooting_sessions', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('is_public', sa.Boolean(), nullable=False))
|
||||
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('shooting_sessions', schema=None) as batch_op:
|
||||
batch_op.drop_column('is_public')
|
||||
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user