Skip to content

perf: ✨ Update mod and admin permissions schema#712

Merged
aXenDeveloper merged 2 commits into
canaryfrom
perf--Update-mod-and-admin-permissions-schema
Jul 13, 2026
Merged

perf: ✨ Update mod and admin permissions schema#712
aXenDeveloper merged 2 commits into
canaryfrom
perf--Update-mod-and-admin-permissions-schema

Conversation

@aXenDeveloper

Copy link
Copy Markdown
Owner

Improving Documentation

Description

What?

Why?

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vitnode-docs Ready Ready Preview, Comment Jul 13, 2026 6:36pm

@github-actions github-actions Bot added the 🚀 Performerce Improves performance label Jul 13, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the database schema for administrator and moderator permissions by replacing the nested data JSONB column with flat unrestricted (boolean) and permissions (JSONB) columns across the codebase. A critical issue was identified in the migration script: dropping the data column directly without first copying its contents to the new columns will result in permanent data loss on existing databases. A SQL suggestion was provided to migrate the existing data before dropping the column.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread apps/docs/migrations/0010_open_banshee.sql
@aXenDeveloper aXenDeveloper merged commit 9c4f662 into canary Jul 13, 2026
3 of 4 checks passed
@aXenDeveloper aXenDeveloper deleted the perf--Update-mod-and-admin-permissions-schema branch July 13, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚀 Performerce Improves performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant