Skip to content

Commit

Permalink
implemented changes from pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip-Jian committed Nov 25, 2023
1 parent d311343 commit 8e08fbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .vscode/settings.json

This file was deleted.

8 changes: 4 additions & 4 deletions server/queries/users.sql
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ WHERE

-- GET - Returns all data from the Users table
SELECT * FROM
Users;
users;

-- GET/pending-accounts - Returns all data from Users table who are currently pending approval
SELECT * FROM
Users
users
WHERE
approved = false;
approved = FALSE;

-- POST - Adds a new row into Users table
INSERT INTO
Users (id, email, "type", approved)
users (id, email, "type", approved)
VALUES
(?,?,?,?);

0 comments on commit 8e08fbd

Please sign in to comment.