-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
fix: Handle row ID of audit record for tables with composite primary keys #10704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthroughThe changes update the primary key extraction process in the audit logging of the Changes
Sequence Diagram(s)sequenceDiagram
participant AL as Audit Logger
participant BM as BaseModelSqlv2
AL->>BM: Initiate audit operation with data payload
BM->>BM: Call extractPksValues(data)
alt Data is object
BM->>BM: Process to extract primary key values
else Data is not an object
BM->>BM: Return data as-is
end
BM-->>AL: Return extracted row_id for logging
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🔇 Additional comments (8)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Uffizzi Ephemeral Environment Deploying☁️ https://app.uffizzi.com/github.com/nocodb/nocodb/pull/10704 ⚙️ Updating now by workflow run 13654258346. What is Uffizzi? Learn more! |
Change Summary
Change type
Test/ Verification
Provide summary of changes.
Additional information / screenshots (optional)
Anything for maintainers to be made aware of