diff --git a/appinfo/database.xml b/appinfo/database.xml index 864fb299..7a193802 100644 --- a/appinfo/database.xml +++ b/appinfo/database.xml @@ -91,6 +91,14 @@ true 4 + + is_guest + integer + 0 + true + true + 1 + status integer diff --git a/appinfo/update.php b/appinfo/update.php index 18ed6554..7a5274fb 100644 --- a/appinfo/update.php +++ b/appinfo/update.php @@ -28,4 +28,8 @@ if (version_compare($installedVersion, '0.7', '<=')) { )); } +} +if (version_compare($installedVersion, '0.8', '<')) { + $query = \OC_DB::prepare('UPDATE `*PREFIX*documents_member` SET `is_guest`=1 WHERE `uid` LIKE \'%(guest)\' '); + $query->execute(array()); } \ No newline at end of file diff --git a/appinfo/version b/appinfo/version index d5cc44d1..ce609caf 100755 --- a/appinfo/version +++ b/appinfo/version @@ -1 +1 @@ -0.7.2 \ No newline at end of file +0.8 \ No newline at end of file