X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=a34a5dbb0b92893b9a74e7937d46c161c82dc0b5;hb=9c427cc05d842470345e4e937da7742538598387;hp=819085f7ff2f5c6f1342d4f36c3a9e851997b039;hpb=53e38b03130ea798bba44db44ccb7f331dc4b91d;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;