{"repo":"palkan/logidze","free":true,"listed":false,"github":"https://github.com/palkan/logidze","clone":"git clone https://github.com/palkan/logidze.git","description":"Database changes log for Rails","language":"Ruby","stars":1685,"topics":["activerecord","rails","versioning","postgresql","hacktoberfest"],"license":"MIT","category":"databases-storage","readme_excerpt":"Logidze Logidze provides tools for logging DB records changes when using PostgreSQL. Just like audited and paper trail do (but faster). Logidze allows you to create a DB-level log (using triggers) and gives you an API to browse this log. The log is stored with the record itself in JSONB column. No additional tables required. 🤔 How is Logidze pronounced? Other requirements: - Ruby 2.7 - Rails = 6.0 (for Rails 4.2 use version = 10.0 Logidze is built by Evil Martians , an American design and engineering consultancy for developer tools, AI, and cybersecurity startups . Links - Logidze 1.0: Active Record, Postgres, Rails, and time travel - Logidze: for all those tired of versioning data Table of contents - Installation & Configuration - Using with schema.rb - Configuring models - Backfill data - Log size limits - Tracking only selected columns - Logs timestamps - Undoing a Generated Invocation - Using with partitioned tables - Storing history data in a separate table - Usage - Basic API - Track meta information - Track responsibility - Persisted metadata - Disable logging temporary - Reset log - Creating full snapshot instead of diffs - Associations versioning - Dealing with large logs - Handling records deletion - Handling PG exceptions - Upgrading - Log format - Troubleshooting 🚨 - Development Installation Add Logidze to your application's Gemfile: Install required DB extensions and create trigger function: This creates a migration for adding trigger function and enabling the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/palkan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/palkan/logidze/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}