Skip to content
Snippets Groups Projects
Commit 8a3400d5 authored by Dmitry Rodionov's avatar Dmitry Rodionov
Browse files

chore: clarify owner/initiator relation for Op::Ddl

parent a08fc89b
No related branches found
No related tags found
1 merge request!884chore: clarify owner/initiator relation for Op::Ddl
Pipeline #33599 passed
......@@ -485,6 +485,11 @@ pub struct DmlInLua {
// Ddl
////////////////////////////////////////////////////////////////////////////////
/// Represents Ddl operations performed on the cluster.
///
/// Note: for the purpose of audit log in some variants we keep initiator field.
/// For Create<...> operations initiator and owner are the same,
/// so owner is used to avoid duplication.
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq)]
#[serde(rename_all = "snake_case")]
#[serde(tag = "kind")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment