Merge pull request #457 from Heavybob/patch-1

User Timestamps by default
This commit is contained in:
Mycroft
2022-09-10 03:40:04 +01:00
committed by GitHub
+2
View File
@@ -400,6 +400,8 @@ CREATE TABLE `users` (
`id` int(11) NOT NULL,
`disabled` TINYINT(1) NULL DEFAULT '0',
`last_property` varchar(255) DEFAULT NULL
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`last_seen` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB;
-- --------------------------------------------------------