-- Downgrades from version 0.4.2

ALTER TABLE `users` CHANGE `last_login` `last_login` datetime NOT NULL DEFAULT '1000-01-01 00:00:00';
UPDATE `users` SET `last_login` = '1000-01-01 00:00:00' WHERE `last_login` = NULL;
-- pek: not sure why, but the second statement is proving to be not necessary; keeping for now

