Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
138651: sql/schemachanger: Implement CREATE/DROP POLICY in the DSC r=spilchen a=spilchen Prior to this commit, attempts to create or drop a policy succeeded but did not write any metadata to the table descriptor. This commit introduces the first step in persisting policy metadata by storing the policy name. Future PRs will handle storing additional policy details. The policy name is now stored in a new field within the table descriptor, and each policy is assigned a unique ID specific to the table. This commit also adds elements to the DSC to support adding and removing policy information in the descriptor. Support in the legacy schema changer has been intentionally left out. Epic: CRDB-11724 Informs #136696 Release note: none Co-authored-by: Matt Spilchen <[email protected]>
- Loading branch information