diff options
author | Friendika <info@friendika.com> | 2011-09-18 19:53:45 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-18 19:53:45 -0700 |
commit | 5b3f6459392ba6f417cfc5cb0d38094c009c6913 (patch) | |
tree | d98c801e79dc3542cf89769d7b943f1b8292a38b /update.php | |
parent | 8bf6a29d4e05af5d461da3f01999785dc12ee7da (diff) | |
download | volse-hubzilla-5b3f6459392ba6f417cfc5cb0d38094c009c6913.tar.gz volse-hubzilla-5b3f6459392ba6f417cfc5cb0d38094c009c6913.tar.bz2 volse-hubzilla-5b3f6459392ba6f417cfc5cb0d38094c009c6913.zip |
account expiration structures
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/update.php b/update.php index 82ae05872..6101efea6 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1088 ); +define( 'UPDATE_VERSION' , 1089 ); /** * @@ -743,3 +743,10 @@ function update_1087() { } } } + +function update_1088() { + q("ALTER TABLE `user` ADD `account_expired` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `expire` , + ADD `account_expires_on` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `account_expired` , + ADD `expire_notification_sent` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00' AFTER `account_expires_on` "); +} + |