From: Michael Date: Fri, 24 Apr 2020 15:44:41 +0000 (+0000) Subject: Updated database description X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=749c2ce4ab31ef2a13747ccd12c61a0a4b422d4a;p=friendica.git Updated database description --- diff --git a/database.sql b/database.sql index c7bd24f38c..f5db49600d 100644 --- a/database.sql +++ b/database.sql @@ -1523,4 +1523,26 @@ CREATE VIEW `owner-view` AS SELECT INNER JOIN `contact` ON `contact`.`uid` = `user`.`uid` AND `contact`.`self` INNER JOIN `profile` ON `profile`.`uid` = `user`.`uid`; +-- +-- VIEW pending-view +-- +DROP VIEW IF EXISTS `pending-view`; +CREATE VIEW `pending-view` AS SELECT + `register`.`id` AS `id`, + `register`.`hash` AS `hash`, + `register`.`created` AS `created`, + `register`.`uid` AS `uid`, + `register`.`password` AS `password`, + `register`.`language` AS `language`, + `register`.`note` AS `note`, + `contact`.`self` AS `self`, + `contact`.`name` AS `name`, + `contact`.`url` AS `url`, + `contact`.`micro` AS `micro`, + `user`.`email` AS `email`, + `contact`.`nick` AS `nick` + FROM `register` + INNER JOIN `contact` ON `register`.`uid` = `contact`.`uid` + INNER JOIN `user` ON `register`.`uid` = `user`.`uid`; +