Client logins/password - Add tracking in DB when passwords are changed/rotated

This commit is contained in:
Marcus Hill
2023-10-01 15:22:42 +01:00
parent 203ef85997
commit c768034a1b
4 changed files with 916 additions and 890 deletions

1
db.sql
View File

@@ -759,6 +759,7 @@ CREATE TABLE `logins` (
`login_updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(),
`login_archived_at` datetime DEFAULT NULL,
`login_accessed_at` datetime DEFAULT NULL,
`login_password_changed_at` datetime DEFAULT current_timestamp(),
`login_contact_id` int(11) NOT NULL DEFAULT 0,
`login_vendor_id` int(11) NOT NULL DEFAULT 0,
`login_asset_id` int(11) NOT NULL DEFAULT 0,