Skip to content

Commit

Permalink
database requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
gweebg authored Jan 28, 2024
1 parent f5270c9 commit eb26434
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,22 @@
5. App should be able to notify users by email;
6. App configuration should be done via a YAML file;
7. If watcher is configured for both v4 and v6, it should spawn two processes;
8.

### User Requirements

1. User can choose ways to be notified if a change happens;
2. User can define the delta between checks;
3. User can specify a script to run if the address has, or not changed;
4. User can choose to check IPv6, IPv4 or both ips.

### Database

1. Database should store data relative to each time the address has changed.
2. Database records should contain:
- Datetime of change (unix time)
- Previous address (string)
- New address (string)
- Address version (v4 | v6, string)
- Source of change (ipify, myip, etc., string)
- Id (uint)
3. Database should use sqlite3

0 comments on commit eb26434

Please sign in to comment.