Remove unnecessary hash function.
- Was introduced for getting the last inserted ID before "lastInstertID()" was possible
- See b821399f00 (diff-a8e86a3c07531e66a3b0b4c8b4b07879R148)
This commit is contained in:
parent
41261ba7e1
commit
f9e3ff4b55
3 changed files with 2 additions and 14 deletions
|
@ -34,7 +34,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1323);
|
||||
define('DB_UPDATE_VERSION', 1324);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -868,7 +868,6 @@ return [
|
|||
"comment" => "notifications",
|
||||
"fields" => [
|
||||
"id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "comment" => "sequential ID"],
|
||||
"hash" => ["type" => "varchar(64)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"type" => ["type" => "smallint unsigned", "not null" => "1", "default" => "0", "comment" => ""],
|
||||
"name" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"url" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
|
@ -887,7 +886,6 @@ return [
|
|||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["id"],
|
||||
"hash_uid" => ["hash", "uid"],
|
||||
"seen_uid_date" => ["seen", "uid", "date"],
|
||||
"uid_date" => ["uid", "date"],
|
||||
"uid_type_link" => ["uid", "type", "link(190)"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue