minor fixes related to postgres development

This commit is contained in:
friendica
2013-05-05 19:34:56 -07:00
parent ef07b71bc7
commit 6f04a7e070
7 changed files with 1094 additions and 1094 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1040 );
define( 'UPDATE_VERSION' , 1041 );
/**
*
@@ -513,3 +513,13 @@ function update_r1039() {
return UPDATE_FAILED;
}
function update_r1040() {
$r = q("ALTER TABLE `session` CHANGE `expire` `expire` BIGINT UNSIGNED NOT NULL,
ALTER TABLE `tokens` CHANGE `expires` `expires` BIGINT UNSIGNED NOT NULL ");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}