Added title in about us and updated apis
This commit is contained in:
@@ -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 ###
|
Reference in New Issue
Block a user