1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-12-28 15:10:11 +01:00

Merge pull request #64 from lidl/master

Make table creation comment a one-liner.
This commit is contained in:
John Crepezzi 2014-07-16 07:54:00 -04:00
commit 6c31389327

View file

@ -3,8 +3,7 @@
var postgres = require('pg');
var winston = require('winston');
// create table entries (id SERIAL primary key, key varchar(255) not null, value text not null, expiration int);
// CREATE UNIQUE INDEX unique_key ON entries (key);
// create table entries (id serial primary key, key varchar(255) not null, value text not null, expiration int, unique(key));
// A postgres document store
var PostgresDocumentStore = function (options) {