Skip to content
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

Add audit log #4445

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add audit log #4445

wants to merge 2 commits into from

Conversation

tspenov
Copy link
Contributor

@tspenov tspenov commented Oct 30, 2024

Changes

INSERT INTO "versions" ("action","patch","entity_id","entity_schema","recorded_at") 
VALUES ($1,$2,$3,$4,$5) 
[:updated, %{email: {:changed, {:primitive_change, "tsvetozar.penov@gmail.com", "test@example.com"}}, updated_at: {:changed, {:primitive_change, ~N[2024-10-30 14:31:18], ~N[2024-10-30 14:46:27]}}, test_san_balance: {:changed, {:primitive_change, nil, Decimal.new("10000")}}}, 1, Sanbase.Accounts.User, ~U[2024-10-30 14:46:27Z]]

image

Ticket

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have tried to find clearer solution before commenting hard-to-understand parts of code
  • I have added tests that prove my fix is effective or that my feature works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant