Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/umar-muneer/table-watcher

watch tables in a database for insertion, deletion and updates
https://github.com/umar-muneer/table-watcher

mysql-database mysql-triggers

Last synced: about 1 month ago
JSON representation

watch tables in a database for insertion, deletion and updates

Awesome Lists containing this project

README

        

# table-watcher
watch tables in a database for insertion, deletion and updates and truncation.

## How it works?
provide a database and watch table name to the module. after every operation, an entry will be added to the watch table with a timestamp.This table can be queried to see which tables were modified. The watch table has to be created before being passed to the module and must contain the following columns

1. **table_name (text)**
2. **timestamp (int)**
3. **operation (text)**