diff options
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/update.php b/update.php index f94b89fd3..3ac9d1721 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1145 ); +define( 'UPDATE_VERSION' , 1146 ); /** * @@ -1259,3 +1259,12 @@ function update_1144() { return UPDATE_FAILED ; return UPDATE_SUCCESS ; } + +function update_1145() { + $r = q("alter table profile add howlong datetime not null default '0000-00-00 00:00:00' after `with`"); + if(! $r) + return UPDATE_FAILED ; + return UPDATE_SUCCESS ; +} + + |