Stefan Pranger
4a66b49bed
enabled foreign keys on startup
3 years ago
Stefan Pranger
7cc6a792e0
updated event migration
added autoincrement id and filename
which is used for deleting events
3 years ago
Stefan Pranger
297c5e13ad
updated alarms migration
Added foreign key and constraints for event+trigger time uniqueness
3 years ago
Stefan Pranger
76c496e068
added fk methods to TableBuilder
3 years ago
Stefan Pranger
7ded95e8e2
fetch alarms in heartbeat
3 years ago
Stefan Pranger
f60e0f24d2
added stmtbuilder and split up source
3 years ago
Stefan Pranger
df32a646a5
Init FSWatcher
3 years ago
Stefan Pranger
0e55e4d2d7
split up update.h
3 years ago
Stefan Pranger
889a37abd6
reworked Alarm and Event
fixed wrong offset in datetime conversion
3 years ago
Stefan Pranger
c1928ee495
store events to db
3 years ago
Stefan Pranger
a8fc450a02
changed events table migration
3 years ago
Stefan Pranger
ede7da0c94
add db_safe util method
3 years ago
Stefan Pranger
25b2594206
pass databases in daemon functions
3 years ago
Stefan Pranger
bdcd71bbde
added alarm migration and changes events table
3 years ago
Stefan Pranger
8dead037e4
init db update and refactored ical classes
- IcalObject is now a proper class
- fixed Alarm/Event/IcalObject includes
- objects now get instantiated in parse_cal_dir and get filled up
along the way
3 years ago
Stefan Pranger
88c61caa3f
introduced statement builder
3 years ago
Stefan Pranger
9b1c810bb3
migrations now run with savepoints
3 years ago
Stefan Pranger
94a5b5e333
removed unused include from first migration
3 years ago
Stefan Pranger
5148636927
added create_events migration
3 years ago
Stefan Pranger
806e9e5c5a
run migrations on db init
3 years ago
Stefan Pranger
5ed4c01cc3
added Schema and Migration
3 years ago
Stefan Pranger
8351edbe77
removed AbstractTableBuilder
3 years ago
Stefan Pranger
fccaa5d639
added builder code for db migrations
3 years ago
Stefan Pranger
b166d96a41
init db creation
- also changed dir handling for ics-files and
- added/removed some debug output
3 years ago