Skip to content

sql: create long running migration to fix privilege descriptors for tables/db created on 20.1 or before #65012

@RichardJCai

Description

@RichardJCai

Would like a more permanent solution to fixing USAGE on tables/db descs created in 20.1.

#65010

Example:
https://github.com/cockroachdb/cockroach/blob/master/pkg/migration/migrations/foreign_key_representation_upgrade.go

Must also make sure restore is aware of this case:
#58611

Epic CRDB-2476

Metadata

Metadata

Assignees

Labels

A-sql-privilegesSQL privilege handling and permission checks.C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions