From c3eab29e1930d80bdd0ef6d19e58e8f1dca8c170 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sun, 30 May 2010 06:12:36 -0400
Subject: [PATCH] - some fixes in message list columns handling

---
 SQL/mysql.update.sql |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/SQL/mysql.update.sql b/SQL/mysql.update.sql
index f820415..49811c1 100644
--- a/SQL/mysql.update.sql
+++ b/SQL/mysql.update.sql
@@ -108,3 +108,8 @@
 ) /*!40000 ENGINE=INNODB */;
 
 /*!40014 SET FOREIGN_KEY_CHECKS=1 */;
+
+-- Updates from version 0.4-beta
+
+ALTER TABLE `users` CHANGE `last_login` `last_login` datetime DEFAULT NULL;
+UPDATE `users` SET `last_login` = NULL WHERE `last_login` = '1000-01-01 00:00:00';

--
Gitblit v1.9.1