X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=68e4fb4d3d687bdab9b1435701934c646eecbb5a;hb=3859b7ba106835e503ce89352e18b946f67e1960;hp=6f796cd0fa692af7da80a0a8f36ac06068221fb3;hpb=2ebb720f09a16cabfe5f4ace5b81bc46408dcbb7;p=friendica.git diff --git a/update.php b/update.php index 6f796cd0fa..68e4fb4d3d 100644 --- a/update.php +++ b/update.php @@ -817,3 +817,13 @@ function update_1400() return Update::SUCCESS; } + +function pre_update_1403() +{ + // Necessary before a primary key change + if (!DBA::e("DROP TABLE `parsed_url`")) { + return Update::FAILED; + } + + return Update::SUCCESS; +}