diff options
author | friendica <info@friendica.com> | 2012-06-02 02:30:26 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-02 02:30:26 -0700 |
commit | 608d424b0b94eacd99ceeeca3e2caf112abd5b48 (patch) | |
tree | a2bb50fd0f913ce039f8b7ad2f1be8974d053472 /update.php | |
parent | 29bdf432f012af9b1959d5b4a33b3c45d220fd64 (diff) | |
download | volse-hubzilla-608d424b0b94eacd99ceeeca3e2caf112abd5b48.tar.gz volse-hubzilla-608d424b0b94eacd99ceeeca3e2caf112abd5b48.tar.bz2 volse-hubzilla-608d424b0b94eacd99ceeeca3e2caf112abd5b48.zip |
"howlong" added to marital status.
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 ; +} + + |