mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
[Database] Version 1333
- Exchange profile.pdesc for profile.about
This commit is contained in:
parent
7180fa18dd
commit
da09215db8
3 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
-- ------------------------------------------
|
||||
-- Friendica 2020.03-dev (Dalmatian Bellflower)
|
||||
-- DB_UPDATE_VERSION 1332
|
||||
-- DB_UPDATE_VERSION 1333
|
||||
-- ------------------------------------------
|
||||
|
||||
|
||||
|
@ -999,7 +999,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
|
|||
`is-default` boolean COMMENT 'Deprecated',
|
||||
`hide-friends` boolean NOT NULL DEFAULT '0' COMMENT 'Hide friend list from viewers of this profile',
|
||||
`name` varchar(255) NOT NULL DEFAULT '' COMMENT '',
|
||||
`pdesc` varchar(255) NOT NULL DEFAULT '' COMMENT 'Title or description',
|
||||
`pdesc` varchar(255) COMMENT 'Deprecated',
|
||||
`dob` varchar(32) NOT NULL DEFAULT '0000-00-00' COMMENT 'Day of birth',
|
||||
`address` varchar(255) NOT NULL DEFAULT '' COMMENT '',
|
||||
`locality` varchar(255) NOT NULL DEFAULT '' COMMENT '',
|
||||
|
@ -1018,7 +1018,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
|
|||
`prv_keywords` text COMMENT '',
|
||||
`likes` text COMMENT 'Deprecated',
|
||||
`dislikes` text COMMENT 'Deprecated',
|
||||
`about` text COMMENT 'Deprecated',
|
||||
`about` text COMMENT 'Profile description',
|
||||
`summary` varchar(255) COMMENT 'Deprecated',
|
||||
`music` text COMMENT 'Deprecated',
|
||||
`book` text COMMENT 'Deprecated',
|
||||
|
|
|
@ -9,7 +9,7 @@ Table profile
|
|||
| is-default | Mark this profile as default profile | tinyint(1) | NO | | 0 | |
|
||||
| hide-friends | Hide friend list from viewers of this profile | tinyint(1) | NO | | 0 | |
|
||||
| name | | varchar(255) | NO | | | |
|
||||
| pdesc | Title or description | varchar(255) | NO | | | |
|
||||
| pdesc | Deprecated | varchar(255) | NO | | | |
|
||||
| dob | Day of birth | varchar(32) | NO | | 0001-01-01 | |
|
||||
| address | | varchar(255) | NO | | | |
|
||||
| locality | | varchar(255) | NO | | | |
|
||||
|
@ -28,7 +28,7 @@ Table profile
|
|||
| prv_keywords | | text | NO | | NULL | |
|
||||
| likes | Deprecated | text | NO | | NULL | |
|
||||
| dislikes | Deprecated | text | NO | | NULL | |
|
||||
| about | Deprecated | text | NO | | NULL | |
|
||||
| about | Profile description | text | NO | | | |
|
||||
| summary | Deprecated | varchar(255) | NO | | | |
|
||||
| music | Deprecated | text | NO | | NULL | |
|
||||
| book | Deprecated | text | NO | | NULL | |
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1332);
|
||||
define('DB_UPDATE_VERSION', 1333);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -1088,7 +1088,7 @@ return [
|
|||
"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"],
|
||||
"pdesc" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"dob" => ["type" => "varchar(32)", "not null" => "1", "default" => "0000-00-00", "comment" => "Day of birth"],
|
||||
"address" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
"locality" => ["type" => "varchar(255)", "not null" => "1", "default" => "", "comment" => ""],
|
||||
|
@ -1107,7 +1107,7 @@ return [
|
|||
"prv_keywords" => ["type" => "text", "comment" => ""],
|
||||
"likes" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"dislikes" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"about" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"about" => ["type" => "text", "comment" => "Profile description"],
|
||||
"summary" => ["type" => "varchar(255)", "comment" => "Deprecated"],
|
||||
"music" => ["type" => "text", "comment" => "Deprecated"],
|
||||
"book" => ["type" => "text", "comment" => "Deprecated"],
|
||||
|
|
Loading…
Reference in a new issue