diff options
author | friendica <info@friendica.com> | 2013-01-02 23:07:46 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-02 23:07:46 -0800 |
commit | 4c21abe533c6a5bcd87b453760c551fed109a79a (patch) | |
tree | 9d7cb530441fe6a3678c77244b8382066562743e /install/update.php | |
parent | 32a97d5065efbcc6897ef7598343c6973114fff4 (diff) | |
download | volse-hubzilla-4c21abe533c6a5bcd87b453760c551fed109a79a.tar.gz volse-hubzilla-4c21abe533c6a5bcd87b453760c551fed109a79a.tar.bz2 volse-hubzilla-4c21abe533c6a5bcd87b453760c551fed109a79a.zip |
verify table needs auto_increment flag
Diffstat (limited to 'install/update.php')
-rw-r--r-- | install/update.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index 549ae63ed..cff3115a2 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1014 ); +define( 'UPDATE_VERSION' , 1015 ); /** * @@ -211,3 +211,11 @@ function update_r1013() { return UPDATE_SUCCESS; return UPDATE_FAILED; } + +function update_r1014() { + $r = q("ALTER TABLE `verify` CHANGE `id` `id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT"); + if($r) + return UPDATE_SUCCESS; + return UPDATE_FAILED; +} + |