"""migrate Revision ID: 64174712dd01 Revises: d4b392539c2c Create Date: 2023-12-08 04:14:27.348117 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '64174712dd01' down_revision = 'd4b392539c2c' branch_labels = None depends_on = None def upgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.create_table('doctors', sa.Column('id', postgresql.UUID(as_uuid=True), nullable=False), sa.Column('name', sa.String(), nullable=False), sa.Column('price', sa.String(), nullable=False), sa.Column('rating', sa.String(), nullable=False), sa.Column('role', sa.String(), server_default='Hewan', nullable=False), sa.Column('role_detail', sa.String(), nullable=False), sa.Column('day', sa.String(), nullable=True), sa.Column('time', sa.String(), nullable=False), sa.Column('location', sa.String(), nullable=False), sa.Column('university', sa.String(), nullable=False), sa.Column('yearofexperience', sa.String(), nullable=False), sa.Column('created_at', sa.TIMESTAMP(timezone=True), server_default=sa.text('now()'), nullable=False), sa.Column('updated_at', sa.TIMESTAMP(timezone=True), server_default=sa.text('now()'), nullable=False), sa.PrimaryKeyConstraint('id'), sa.UniqueConstraint('name') ) # ### end Alembic commands ### def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.drop_table('doctors') # ### end Alembic commands ###