X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=a34a5dbb0b92893b9a74e7937d46c161c82dc0b5;hb=3dcd91cdddf27f488b23f77ebe892929525a085b;hp=819085f7ff2f5c6f1342d4f36c3a9e851997b039;hpb=2bda6980bbd36ef011e6c19502ea2a0fe3376d02;p=friendica.git diff --git a/update.php b/update.php index 819085f7ff..a34a5dbb0b 100644 --- a/update.php +++ b/update.php @@ -660,7 +660,7 @@ function update_1380() function pre_update_1395() { - if (DBStructure::existsTable('post-user') && !DBA::e("DROP TABLE `post-user`")) { + if (DBStructure::existsTable('post-user') && !DBStructure::existsColumn('post-user', ['id']) && !DBA::e("DROP TABLE `post-user`")) { return Update::FAILED; } return Update::SUCCESS;