vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
4 stars 2 forks source link

Schema up to dateifying #222

Closed jonathan-d-zhang closed 3 months ago

jonathan-d-zhang commented 3 months ago

While trying to put a primary key on package_rules, I discovered that previous changes to the ORM model did not have migrations associated with them, and so weren't actually reflected in the database schema. Specifically, modifying the Scan.*_at datetime fields to be timezone aware.

Additionally, the rules_table did not have a primary key, which I fixed.

Closes #221