Set up the PostgreSQL session table
mainAfter installation, you must create the session table in your database. You have three options:
Manual SQL: Run the
table.sqlfile provided in the module usingpsql:psql mydatabase < node_modules/connect-pg-simple/table.sqlAlternatively, run the file via a GUI like pgAdminIII.
Automatic Creation: Set the
createTableIfMissing: trueoption in the store configuration to let the module create the table automatically if it doesn't exist.
psql mydatabase < node_modules/connect-pg-simple/table.sql