Fix warnings because of missing field
This commit is contained in:
parent
b731f8a0ad
commit
0da2391c49
|
@ -1,6 +1,6 @@
|
||||||
-- ------------------------------------------
|
-- ------------------------------------------
|
||||||
-- Friendica 2023.09-dev (Giant Rhubarb)
|
-- Friendica 2023.09-dev (Giant Rhubarb)
|
||||||
-- DB_UPDATE_VERSION 1521
|
-- DB_UPDATE_VERSION 1522
|
||||||
-- ------------------------------------------
|
-- ------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
@ -1994,6 +1994,7 @@ CREATE VIEW `post-user-view` AS SELECT
|
||||||
`causer`.`addr` AS `causer-addr`,
|
`causer`.`addr` AS `causer-addr`,
|
||||||
`causer`.`name` AS `causer-name`,
|
`causer`.`name` AS `causer-name`,
|
||||||
`causer`.`nick` AS `causer-nick`,
|
`causer`.`nick` AS `causer-nick`,
|
||||||
|
`causer`.`alias` AS `causer-alias`,
|
||||||
`causer`.`thumb` AS `causer-avatar`,
|
`causer`.`thumb` AS `causer-avatar`,
|
||||||
`causer`.`network` AS `causer-network`,
|
`causer`.`network` AS `causer-network`,
|
||||||
`causer`.`blocked` AS `causer-blocked`,
|
`causer`.`blocked` AS `causer-blocked`,
|
||||||
|
@ -2173,6 +2174,7 @@ CREATE VIEW `post-thread-user-view` AS SELECT
|
||||||
`causer`.`addr` AS `causer-addr`,
|
`causer`.`addr` AS `causer-addr`,
|
||||||
`causer`.`name` AS `causer-name`,
|
`causer`.`name` AS `causer-name`,
|
||||||
`causer`.`nick` AS `causer-nick`,
|
`causer`.`nick` AS `causer-nick`,
|
||||||
|
`causer`.`alias` AS `causer-alias`,
|
||||||
`causer`.`thumb` AS `causer-avatar`,
|
`causer`.`thumb` AS `causer-avatar`,
|
||||||
`causer`.`network` AS `causer-network`,
|
`causer`.`network` AS `causer-network`,
|
||||||
`causer`.`blocked` AS `causer-blocked`,
|
`causer`.`blocked` AS `causer-blocked`,
|
||||||
|
@ -2338,6 +2340,7 @@ CREATE VIEW `post-view` AS SELECT
|
||||||
`causer`.`addr` AS `causer-addr`,
|
`causer`.`addr` AS `causer-addr`,
|
||||||
`causer`.`name` AS `causer-name`,
|
`causer`.`name` AS `causer-name`,
|
||||||
`causer`.`nick` AS `causer-nick`,
|
`causer`.`nick` AS `causer-nick`,
|
||||||
|
`causer`.`alias` AS `causer-alias`,
|
||||||
`causer`.`thumb` AS `causer-avatar`,
|
`causer`.`thumb` AS `causer-avatar`,
|
||||||
`causer`.`network` AS `causer-network`,
|
`causer`.`network` AS `causer-network`,
|
||||||
`causer`.`blocked` AS `causer-blocked`,
|
`causer`.`blocked` AS `causer-blocked`,
|
||||||
|
@ -2480,6 +2483,7 @@ CREATE VIEW `post-thread-view` AS SELECT
|
||||||
`causer`.`addr` AS `causer-addr`,
|
`causer`.`addr` AS `causer-addr`,
|
||||||
`causer`.`name` AS `causer-name`,
|
`causer`.`name` AS `causer-name`,
|
||||||
`causer`.`nick` AS `causer-nick`,
|
`causer`.`nick` AS `causer-nick`,
|
||||||
|
`causer`.`alias` AS `causer-alias`,
|
||||||
`causer`.`thumb` AS `causer-avatar`,
|
`causer`.`thumb` AS `causer-avatar`,
|
||||||
`causer`.`network` AS `causer-network`,
|
`causer`.`network` AS `causer-network`,
|
||||||
`causer`.`blocked` AS `causer-blocked`,
|
`causer`.`blocked` AS `causer-blocked`,
|
||||||
|
|
|
@ -95,8 +95,8 @@ class Item
|
||||||
'content-warning', 'location', 'coord', 'app', 'rendered-hash', 'rendered-html', 'object',
|
'content-warning', 'location', 'coord', 'app', 'rendered-hash', 'rendered-html', 'object',
|
||||||
'quote-uri', 'quote-uri-id', 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'mention', 'global',
|
'quote-uri', 'quote-uri-id', 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'mention', 'global',
|
||||||
'author-id', 'author-link', 'author-alias', 'author-name', 'author-avatar', 'author-network', 'author-updated', 'author-gsid', 'author-addr', 'author-uri-id',
|
'author-id', 'author-link', 'author-alias', 'author-name', 'author-avatar', 'author-network', 'author-updated', 'author-gsid', 'author-addr', 'author-uri-id',
|
||||||
'owner-id', 'owner-link', 'owner-name', 'owner-avatar', 'owner-network', 'owner-contact-type', 'owner-updated',
|
'owner-id', 'owner-link', 'owner-alias', 'owner-name', 'owner-avatar', 'owner-network', 'owner-contact-type', 'owner-updated',
|
||||||
'causer-id', 'causer-link', 'causer-name', 'causer-avatar', 'causer-contact-type', 'causer-network',
|
'causer-id', 'causer-link', 'causer-alias', 'causer-name', 'causer-avatar', 'causer-contact-type', 'causer-network',
|
||||||
'contact-id', 'contact-uid', 'contact-link', 'contact-name', 'contact-avatar',
|
'contact-id', 'contact-uid', 'contact-link', 'contact-name', 'contact-avatar',
|
||||||
'writable', 'self', 'cid', 'alias',
|
'writable', 'self', 'cid', 'alias',
|
||||||
'event-created', 'event-edited', 'event-start', 'event-finish',
|
'event-created', 'event-edited', 'event-start', 'event-finish',
|
||||||
|
|
|
@ -56,7 +56,7 @@ use Friendica\Database\DBA;
|
||||||
|
|
||||||
// This file is required several times during the test in DbaDefinition which justifies this condition
|
// This file is required several times during the test in DbaDefinition which justifies this condition
|
||||||
if (!defined('DB_UPDATE_VERSION')) {
|
if (!defined('DB_UPDATE_VERSION')) {
|
||||||
define('DB_UPDATE_VERSION', 1521);
|
define('DB_UPDATE_VERSION', 1522);
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -175,6 +175,7 @@
|
||||||
"causer-addr" => ["causer", "addr"],
|
"causer-addr" => ["causer", "addr"],
|
||||||
"causer-name" => ["causer", "name"],
|
"causer-name" => ["causer", "name"],
|
||||||
"causer-nick" => ["causer", "nick"],
|
"causer-nick" => ["causer", "nick"],
|
||||||
|
"causer-alias" => ["causer", "alias"],
|
||||||
"causer-avatar" => ["causer", "thumb"],
|
"causer-avatar" => ["causer", "thumb"],
|
||||||
"causer-network" => ["causer", "network"],
|
"causer-network" => ["causer", "network"],
|
||||||
"causer-blocked" => ["causer", "blocked"],
|
"causer-blocked" => ["causer", "blocked"],
|
||||||
|
@ -352,6 +353,7 @@
|
||||||
"causer-addr" => ["causer", "addr"],
|
"causer-addr" => ["causer", "addr"],
|
||||||
"causer-name" => ["causer", "name"],
|
"causer-name" => ["causer", "name"],
|
||||||
"causer-nick" => ["causer", "nick"],
|
"causer-nick" => ["causer", "nick"],
|
||||||
|
"causer-alias" => ["causer", "alias"],
|
||||||
"causer-avatar" => ["causer", "thumb"],
|
"causer-avatar" => ["causer", "thumb"],
|
||||||
"causer-network" => ["causer", "network"],
|
"causer-network" => ["causer", "network"],
|
||||||
"causer-blocked" => ["causer", "blocked"],
|
"causer-blocked" => ["causer", "blocked"],
|
||||||
|
@ -515,6 +517,7 @@
|
||||||
"causer-addr" => ["causer", "addr"],
|
"causer-addr" => ["causer", "addr"],
|
||||||
"causer-name" => ["causer", "name"],
|
"causer-name" => ["causer", "name"],
|
||||||
"causer-nick" => ["causer", "nick"],
|
"causer-nick" => ["causer", "nick"],
|
||||||
|
"causer-alias" => ["causer", "alias"],
|
||||||
"causer-avatar" => ["causer", "thumb"],
|
"causer-avatar" => ["causer", "thumb"],
|
||||||
"causer-network" => ["causer", "network"],
|
"causer-network" => ["causer", "network"],
|
||||||
"causer-blocked" => ["causer", "blocked"],
|
"causer-blocked" => ["causer", "blocked"],
|
||||||
|
@ -655,6 +658,7 @@
|
||||||
"causer-addr" => ["causer", "addr"],
|
"causer-addr" => ["causer", "addr"],
|
||||||
"causer-name" => ["causer", "name"],
|
"causer-name" => ["causer", "name"],
|
||||||
"causer-nick" => ["causer", "nick"],
|
"causer-nick" => ["causer", "nick"],
|
||||||
|
"causer-alias" => ["causer", "alias"],
|
||||||
"causer-avatar" => ["causer", "thumb"],
|
"causer-avatar" => ["causer", "thumb"],
|
||||||
"causer-network" => ["causer", "network"],
|
"causer-network" => ["causer", "network"],
|
||||||
"causer-blocked" => ["causer", "blocked"],
|
"causer-blocked" => ["causer", "blocked"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user