improved Modal with zoom and pagination. also implementing thumbnail generation
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
"""thumbnail processing
|
||||
|
||||
Revision ID: 861f9cae4fe5
|
||||
Revises: 9c3559ba0427
|
||||
Create Date: 2025-08-01 22:32:30.089380
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '861f9cae4fe5'
|
||||
down_revision = '9c3559ba0427'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('image_record', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('thumb_path', sa.String(length=512), nullable=True))
|
||||
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('image_record', schema=None) as batch_op:
|
||||
batch_op.drop_column('thumb_path')
|
||||
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user