Added title in about us and updated apis

This commit is contained in:
2024-10-05 11:09:16 +08:00
parent 68378d55ac
commit f20685beea
29 changed files with 93 additions and 16 deletions

View File

@@ -0,0 +1,29 @@
"""add title in aboutUs
Revision ID: 94afd163eba3
Revises: 8e38378fd2f3
Create Date: 2024-10-05 10:26:21.093141
"""
from alembic import op
import sqlalchemy as sa
import sqlmodel.sql.sqltypes
# revision identifiers, used by Alembic.
revision = '94afd163eba3'
down_revision = '8e38378fd2f3'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('aboutus', sa.Column('title', sqlmodel.sql.sqltypes.AutoString(length=255), nullable=False))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('aboutus', 'title')
# ### end Alembic commands ###