]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Move /parse_url module to /parseurl
[friendica.git] / update.php
index 6f796cd0fa692af7da80a0a8f36ac06068221fb3..68e4fb4d3d687bdab9b1435701934c646eecbb5a 100644 (file)
@@ -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;
+}