joncatanio / halp-backend

Server-side code for Halp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add column names to INSERT.

joncatanio opened this issue · comments

Add the column names to the SQL statements, it's more readable and expected, also avoids erring on changes to table definitions.

Ex:
INSERT INTO Users (name, email, password, phone, bio) VALUES ('Jon Catanio', 'test@test.com', 'some hash', '555-555-5555', 'This is my bio') ;