I'm using the Heroku CLI to connect to a postgres database of my Heroku webapp and want to insert an intial user into the user table.
When I run SELECT * FROM user; i get back my results just fine.
But when I want to INSERT INTO the same table, for example:
INSERT INTO user (username, email, password_hash, admin, isactive) VALUES ('John Doe', '[email protected]', 'randompassword','1','1');
it's throwing errors at me, pointing at the table name:
ERROR: syntax error at or near "user" LINE 1: INSERT INTO User (username, email......
(with an arrow pointing at the u in user)
I'm super lost...is Heroku using some weird SQL syntax? Does it not support INSERTS? What is going on?