Loading lib/document_stores/postgres.js +1 −2 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
lib/document_stores/postgres.js +1 −2 Original line number Diff line number Diff line Loading @@ -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) { Loading