From 52115458de094f87c614d9bfdffa32a9ad1edb2b Mon Sep 17 00:00:00 2001 From: charleswrayjr Date: Sat, 13 Sep 2025 08:45:07 -0500 Subject: [PATCH] Adding auth, media, and messaging. --- src/models/authentication.model.js | 2 -- src/models/user.model.js | 1 - 2 files changed, 3 deletions(-) diff --git a/src/models/authentication.model.js b/src/models/authentication.model.js index 70d88a0..79cf0b2 100644 --- a/src/models/authentication.model.js +++ b/src/models/authentication.model.js @@ -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 ); diff --git a/src/models/user.model.js b/src/models/user.model.js index f302132..afd3fb5 100644 --- a/src/models/user.model.js +++ b/src/models/user.model.js @@ -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); -- 2.43.0