mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Check for user defined channel matches before storing them
This commit is contained in:
parent
e2891a660a
commit
43f9be367f
13 changed files with 236 additions and 42 deletions
|
@ -56,7 +56,7 @@ use Friendica\Database\DBA;
|
|||
|
||||
// This file is required several times during the test in DbaDefinition which justifies this condition
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1539);
|
||||
define('DB_UPDATE_VERSION', 1540);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -1858,6 +1858,17 @@ return [
|
|||
"uid_application-id" => ["uid", "application-id"],
|
||||
]
|
||||
],
|
||||
"test-full-text-search" => [
|
||||
"comment" => "Test for a full text search match in user defined channels before storing the message in the system",
|
||||
"fields" => [
|
||||
"pid" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "comment" => "Process id of the worker"],
|
||||
"searchtext" => ["type" => "mediumtext", "comment" => "Simplified text for the full text search"],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["pid"],
|
||||
"searchtext" => ["FULLTEXT", "searchtext"],
|
||||
],
|
||||
],
|
||||
"userd" => [
|
||||
"comment" => "Deleted usernames",
|
||||
"fields" => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue