mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
[Database] Structure version 1332
- Deprecated several fields in profile table
This commit is contained in:
parent
64c05f2280
commit
2171cc8a32
2 changed files with 50 additions and 50 deletions
|
@ -34,7 +34,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1331);
|
||||
define('DB_UPDATE_VERSION', 1332);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -277,7 +277,7 @@ return [
|
|||
"reason" => ["type" => "text", "comment" => ""],
|
||||
"closeness" => ["type" => "tinyint unsigned", "not null" => "1", "default" => "99", "comment" => ""],
|
||||
"info" => ["type" => "mediumtext", "comment" => ""],
|
||||
"profile-id" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "comment" => ""],
|
||||
"profile-id" => ["type" => "int unsigned", "comment" => "Deprecated"],
|
||||
"bdyear" => ["type" => "varchar(4)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"bd" => ["type" => "date", "not null" => "1", "default" => DBA::NULL_DATE, "comment" => ""],
|
||||
"notify_new_posts" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => ""],
|
||||
|
@ -1084,8 +1084,8 @@ return [
|
|||
"fields" => [
|
||||
"id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "comment" => "sequential ID"],
|
||||
"uid" => ["type" => "mediumint unsigned", "not null" => "1", "default" => "0", "relation" => ["user" => "uid"], "comment" => "Owner User id"],
|
||||
"profile-name" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => "Name of the profile"],
|
||||
"is-default" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Mark this profile as default profile"],
|
||||
"profile-name" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"is-default" => ["type" => "boolean", "comment" => "Deprecated"],
|
||||
"hide-friends" => ["type" => "boolean", "not null" => "1", "default" => "0", "comment" => "Hide friend list from viewers of this profile"],
|
||||
"name" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"pdesc" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => "Title or description"],
|
||||
|
@ -1095,29 +1095,29 @@ return [
|
|||
"region" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"postal-code" => ["type" => "varchar(32)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"country-name" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"hometown" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"gender" => ["type" => "varchar(32)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"marital" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"with" => ["type" => "text", "comment" => ""],
|
||||
"howlong" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => ""],
|
||||
"sexual" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"politic" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"religion" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"hometown" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"gender" => ["type" => "varchar(32)", "comment" => "Deprecated"],
|
||||
"marital" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"with" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"howlong" => ["type" => "datetime", "comment" => "Deprecated"],
|
||||
"sexual" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"politic" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"religion" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"pub_keywords" => ["type" => "text", "comment" => ""],
|
||||
"prv_keywords" => ["type" => "text", "comment" => ""],
|
||||
"likes" => ["type" => "text", "comment" => ""],
|
||||
"dislikes" => ["type" => "text", "comment" => ""],
|
||||
"about" => ["type" => "text", "comment" => ""],
|
||||
"summary" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"music" => ["type" => "text", "comment" => ""],
|
||||
"book" => ["type" => "text", "comment" => ""],
|
||||
"tv" => ["type" => "text", "comment" => ""],
|
||||
"film" => ["type" => "text", "comment" => ""],
|
||||
"interest" => ["type" => "text", "comment" => ""],
|
||||
"romance" => ["type" => "text", "comment" => ""],
|
||||
"work" => ["type" => "text", "comment" => ""],
|
||||
"education" => ["type" => "text", "comment" => ""],
|
||||
"contact" => ["type" => "text", "comment" => ""],
|
||||
"likes" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"dislikes" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"about" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"summary" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"music" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"book" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"tv" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"film" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"interest" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"romance" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"work" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"education" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"contact" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"homepage" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"xmpp" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"photo" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue