Added sql init

This commit is contained in:
Thomas FORGIONE 2015-05-18 09:52:04 +02:00
parent c2f971f9e9
commit b8fad45dcb
3 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
node_modules node_modules
private.js

View File

@ -3,7 +3,8 @@
"version": "2.0.0", "version": "2.0.0",
"dependencies": { "dependencies": {
"express": "4.0", "express": "4.0",
"jade": "1.9.2" "jade": "1.9.2",
"pg": "4.3.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

6
sql/backup.pgsql Normal file
View File

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