mirror of
https://github.com/seejohnrun/haste-server.git
synced 2024-11-01 03:21:21 +00:00
Merge pull request #64 from lidl/master
Make table creation comment a one-liner.
This commit is contained in:
commit
6c31389327
1 changed files with 1 additions and 2 deletions
|
@ -3,8 +3,7 @@
|
||||||
var postgres = require('pg');
|
var postgres = require('pg');
|
||||||
var winston = require('winston');
|
var winston = require('winston');
|
||||||
|
|
||||||
// create table entries (id SERIAL primary key, key varchar(255) not null, value text not null, expiration int);
|
// create table entries (id serial primary key, key varchar(255) not null, value text not null, expiration int, unique(key));
|
||||||
// CREATE UNIQUE INDEX unique_key ON entries (key);
|
|
||||||
|
|
||||||
// A postgres document store
|
// A postgres document store
|
||||||
var PostgresDocumentStore = function (options) {
|
var PostgresDocumentStore = function (options) {
|
||||||
|
|
Loading…
Reference in a new issue