Skip to content

mydansun/sails-mysql-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sails-pg-session

Adapter for Sails Js to store sessions in Postgres

Usage with Sails.js: >10.0.x

Install support functions in the database:

 psql <databasename> < ./sql/sails-pg-session-support.sql

Add the following configuration to config/session.js:

  adapter: 'sails-pg-session',

  database: 'dbname',
  host: 'localhost',
  user: 'dbuser',
  password: 'dbpasswd',
  port: 5432

Releases

No releases published

Packages

No packages published