aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-16 16:35:45 -0800
committerFriendika <info@friendika.com>2010-12-16 16:35:45 -0800
commitf60f82727f96c033aaff9f5b5f0767c722e25f28 (patch)
tree9ad52de5515064ac7b8ad12b7c07a408803b4784 /update.php
parentdf2e79dcaf28810e31d4bdc48bdb76e12f70e817 (diff)
downloadvolse-hubzilla-f60f82727f96c033aaff9f5b5f0767c722e25f28.tar.gz
volse-hubzilla-f60f82727f96c033aaff9f5b5f0767c722e25f28.tar.bz2
volse-hubzilla-f60f82727f96c033aaff9f5b5f0767c722e25f28.zip
register/login timestamps
Diffstat (limited to 'update.php')
-rw-r--r--update.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/update.php b/update.php
index b3fab6720..c5aa56194 100644
--- a/update.php
+++ b/update.php
@@ -237,3 +237,9 @@ function update_1022() {
`v` MEDIUMTEXT NOT NULL
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci ");
}
+
+function update_1023() {
+ q("ALTER TABLE `user` ADD `register_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `timezone` ,
+ ADD `login_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `register_date` ");
+}
+