Initial commit: SIBU 2.0 MISSION
This commit is contained in:
@ -0,0 +1,31 @@
|
||||
"""add_user_profile_photo
|
||||
|
||||
Revision ID: 4c9211307d7a
|
||||
Revises: 8a5661aac24b
|
||||
Create Date: 2026-01-28 18:13:37.548321
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = '4c9211307d7a'
|
||||
down_revision: Union[str, None] = '8a5661aac24b'
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('users', sa.Column('profile_photo_url', sa.String(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('users', 'profile_photo_url')
|
||||
# ### end Alembic commands ###
|
||||
|
||||
Reference in New Issue
Block a user