3 Commits

Author SHA1 Message Date
FoxxMD
5971ef7565 refactor(database): Partially working implementation for actioned event using database
* Reworked many mappings to fix cascades and relationships
* Add constructors to entities where useful
* Renamed many db entities classes to be different than interface names
* Re-generated initial migration and added convenience npm script for running it
* Added ormconfig for typeorm 3 cli
* Create all run/check/rule/action premises (static info) on manager creation
2022-03-22 15:07:38 -04:00
FoxxMD
b7f78f5eb1 refactor(database): New entities and init migration for database 2022-03-17 14:04:47 -04:00
FoxxMD
3bb9c2cee3 feat(databse): Add missing typeorm requirements and logger adapter
* ormconfig using default sqlite connection to generate migrations
* add winston adapter to provide logger to typeorm
2022-01-14 15:05:00 -05:00