diff --git a/[SQL]/legacy.sql b/[SQL]/legacy.sql index d7351c34..a838b9df 100644 --- a/[SQL]/legacy.sql +++ b/[SQL]/legacy.sql @@ -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; -- --------------------------------------------------------