Changed sql conventions

This commit is contained in:
Thomas FORGIONE 2015-05-18 11:11:06 +02:00
parent a821e88fc6
commit e3053c785d
2 changed files with 3 additions and 3 deletions

View File

@ -62,5 +62,5 @@ pg.connect(pgc.url, function(err, client, done) {
return console.error('error fetching client from pool', err); 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\')');
}); });

View File

@ -1,6 +1,6 @@
DROP TABLE IF EXISTS Users; DROP TABLE IF EXISTS users;
CREATE TABLE Users ( CREATE TABLE users (
id SERIAL PRIMARY KEY, id SERIAL PRIMARY KEY,
name char(50) name char(50)
); );