]> git.mxchange.org Git - friendica.git/commitdiff
[Database] Version 1333
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 9 Feb 2020 07:35:39 +0000 (02:35 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 9 Feb 2020 07:35:46 +0000 (02:35 -0500)
- Exchange profile.pdesc for profile.about

database.sql
doc/database/db_profile.md
static/dbstructure.config.php

index 78c71efeefe54250cc35b9407d9b0f72c8f7fde4..9d4086994aed6d5a2a719b7b9cc08faac00ad00c 100644 (file)
@@ -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',
index 6b9689d12451e130e32a3b293f989d504316af53..375e06635ab5ed698c7e2e91c93d8c3caac620f3 100644 (file)
@@ -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                |                |
index 87cfdd11c6330d5a222ba0dce9790b9afad9952e..e54d266e39d11be97e25ee24e7629861d63298e6 100755 (executable)
@@ -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"],