- 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:
Josako
2024-09-13 15:43:40 +02:00
parent 9e14824249
commit 6cf660e622
41 changed files with 687 additions and 579 deletions

View 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 ###