Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/umar-muneer/table-watcher
- Owner: umar-muneer
- License: gpl-3.0
- Created: 2017-12-10T06:07:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-13T06:16:22.000Z (almost 7 years ago)
- Last Synced: 2024-10-01T18:07:55.425Z (about 2 months ago)
- Topics: mysql-database, mysql-triggers
- Language: JavaScript
- Size: 41 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 columns1. **table_name (text)**
2. **timestamp (int)**
3. **operation (text)**