]> PHS Git Server - phs-api.git/commitdiff
Adding auth, media, and messaging.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sat, 13 Sep 2025 13:45:07 +0000 (08:45 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sat, 13 Sep 2025 13:45:07 +0000 (08:45 -0500)
src/models/authentication.model.js
src/models/user.model.js

index 70d88a0338f995e91cb1c8ee4a1d3b099eb2ceed..79cf0b29f266ad3960090ed00a9c2e5fc9245440 100644 (file)
@@ -61,7 +61,6 @@ class Authentication extends Model {
                auth.is_locked,
                auth.locked_date
         FROM phase.authentication auth
-        WHERE auth.is_deleted = false
     `;
     this.base_list_query = `
         SELECT auth.id,
@@ -75,7 +74,6 @@ class Authentication extends Model {
                auth.is_locked,
                auth.locked_date
         FROM phase.authentication auth
-        WHERE auth.is_deleted = false
     `;
     this.default_order_by = 'ORDER BY auth.user_id ASC';
     this.instance = _props => new Authentication( _props );
index f3021323989e0d0678d0e8f5dd0e7a4f3aed8e76..afd3fb5936c66e074d4e9963e44e5fb639a53b25 100644 (file)
@@ -53,7 +53,6 @@ class User extends Model {
         SELECT u.id, u.email, u.first_name, u.middle_name, u.last_name, u.initials, u.nickname,
                u.created_by_id, u.created_at, u.is_active, u.deactivated_by_id, u.deactivated_at
         FROM phase.users u
-        WHERE u.is_deleted = false
     `;
     this.default_order_by = 'ORDER BY u.email ASC';
     this.instance = _props => new User(_props);