Update app_defaults.php

This commit is contained in:
FusionPBX 2019-04-27 08:30:03 -06:00 committed by GitHub
parent 7aa164d130
commit f945e7ec60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ if ($domains_processed == 1) {
//create the user view combines username, organization, contact first and last name
$db->exec("DROP VIEW view_users;");
$sql = "CREATE VIEW view_users AS (\n";
$sql .= " select u.domain_uuid, u.user_uuid, d.domain_name, u.username, u.user_enabled, \n";
$sql .= " select u.domain_uuid, u.user_uuid, d.domain_name, u.username, u.user_enabled, u.add_date, \n";
$sql .= " c.contact_uuid, c.contact_organization, c.contact_name_given, c.contact_name_family,\n";
$sql .= " (\n";
$sql .= " select\n";