auth.is_locked,
auth.locked_date
FROM phase.authentication auth
- WHERE auth.is_deleted = false
`;
this.base_list_query = `
SELECT auth.id,
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 );
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);