An open API service indexing awesome lists of open source software.

https://github.com/halfdan/sequel-revisions

A sequel plugin that tracks model changes in a separate `*_revisions` table.
https://github.com/halfdan/sequel-revisions

Last synced: 5 months ago
JSON representation

A sequel plugin that tracks model changes in a separate `*_revisions` table.

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/halfdan/sequel-revisions.svg?branch=master)](https://travis-ci.org/halfdan/sequel-revisions)

# Sequel Revisions

This plugin provides an easy way to track changes to your model. It currently only supports PostgreSQL as it uses a JSON field to store changed fields.

## Requirements

This plugins requires a `_revisions` table for each model you want to track. Using polymorphism is discouraged by Sequel as it shows bad performance, especially for large collections.