- Adding a Tenant Type
- Allow filtering on Tenant Types & searching for parts of Tenant names - Implement health checks - Start Prometheus monitoring (needs to be finalized) - Refine audio_processor and srt_processor to reduce duplicate code and support for larger files - Introduce repopack to reason in LLMs about the code
This commit is contained in:
32
migrations/public/versions/083ccd8206ea_add_tenant_type.py
Normal file
32
migrations/public/versions/083ccd8206ea_add_tenant_type.py
Normal file
@@ -0,0 +1,32 @@
|
||||
"""Add Tenant Type
|
||||
|
||||
Revision ID: 083ccd8206ea
|
||||
Revises: ce6f5b62bbfb
|
||||
Create Date: 2024-09-12 11:30:41.958117
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '083ccd8206ea'
|
||||
down_revision = 'ce6f5b62bbfb'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('tenant', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('type', sa.String(length=20), server_default='Active', nullable=True))
|
||||
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('tenant', schema=None) as batch_op:
|
||||
batch_op.drop_column('type')
|
||||
|
||||
# ### end Alembic commands ###
|
||||
Reference in New Issue
Block a user