oidc-client mk1
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
"""Add allowed_cors_origins to oidc_clients.
|
||||
|
||||
Revision ID: b7e3f1a92c4d
|
||||
Revises: a1b2c3d4e5f6
|
||||
Create Date: 2026-04-27 00:00:00.000000
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'b7e3f1a92c4d'
|
||||
down_revision = 'a1b2c3d4e5f6'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('oidc_clients', sa.Column('allowed_cors_origins', sa.JSON(), nullable=True))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('oidc_clients', 'allowed_cors_origins')
|
||||
Reference in New Issue
Block a user