Skip to content

Commit

Permalink
Remove unsupported 'share_queried_objects' capability from groups (#1005
Browse files Browse the repository at this point in the history
)
  • Loading branch information
psrok1 committed Dec 16, 2024
1 parent 0342526 commit f4b7652
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
"""Remove share_queried_objects from groups
Revision ID: 465b589d0362
Revises: 56adf974831e
Create Date: 2024-12-12 14:39:21.117379
"""
from alembic import op

# revision identifiers, used by Alembic.
revision = "465b589d0362"
down_revision = "56adf974831e"
branch_labels = None
depends_on = None


def upgrade():
op.execute(
"UPDATE \"group\" SET capabilities = array_remove(capabilities, 'share_queried_objects');"
)
pass


def downgrade():
pass

0 comments on commit f4b7652

Please sign in to comment.