changed migrationStatus to migration_status for pgsql

This commit is contained in:
Florin Peter 2013-05-18 22:10:00 +02:00
parent e0e89602a2
commit 681252669a
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@
<comments>Whether encryption key recovery is enabled</comments>
</field>
<field>
<name>migrationStatus</name>
<name>migration_status</name>
<type>boolean</type>
<notnull>true</notnull>
<default>0</default>

View File

@ -1033,7 +1033,7 @@ class Util {
$sql = 'UPDATE
*PREFIX*encryption
SET
migrationStatus = ?
migration_status = ?
WHERE
uid = ?';
@ -1062,7 +1062,7 @@ class Util {
public function getMigrationStatus() {
$sql = 'SELECT
migrationStatus
migration_status
FROM
`*PREFIX*encryption`
WHERE
@ -1078,7 +1078,7 @@ class Util {
while( $row = $result->fetchRow() ) {
$migrationStatus[] = $row['migrationStatus'];
$migrationStatus[] = $row['migration_status'];
}