Changed sql conventions
This commit is contained in:
parent
a821e88fc6
commit
e3053c785d
|
@ -62,5 +62,5 @@ pg.connect(pgc.url, function(err, client, done) {
|
|||
return console.error('error fetching client from pool', err);
|
||||
}
|
||||
|
||||
client.query('INSERT INTO Users(name) VALUES(\'Hello\')');
|
||||
client.query('INSERT INTO users(name) VALUES(\'Hello\')');
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
DROP TABLE IF EXISTS Users;
|
||||
DROP TABLE IF EXISTS users;
|
||||
|
||||
CREATE TABLE Users (
|
||||
CREATE TABLE users (
|
||||
id SERIAL PRIMARY KEY,
|
||||
name char(50)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue