]> git.mxchange.org Git - friendica.git/blobdiff - include/dbstructure.php
Fixes slow performance after one of the last pull requests.
[friendica.git] / include / dbstructure.php
index 3a6e0705d0debf49105c2d9d2287aefb6c741497..0f81ee6249e8a2cb824acb85e0ebc6c6619dc229 100644 (file)
@@ -687,10 +687,15 @@ function db_definition() {
                        "fields" => array(
                                        "id" => array("type" => "int(10) unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1"),
                                        "guid" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
+                                       "plink" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
+                                       "uri" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
+                                       "network" => array("type" => "varchar(32)", "not null" => "1", "default" => ""),
                                        ),
                        "indexes" => array(
                                        "PRIMARY" => array("id"),
                                        "guid" => array("guid"),
+                                       "plink" => array("plink"),
+                                       "uri" => array("uri"),
                                        )
                        );
        $database["hook"] = array(