(require("dbInfo"))(conn) → {promise}

Manage the meta data for the migration. Tracks the version and returns said version as a promise. If the table (called pg_migration_dbinfo) doesn't exist, it'll be created.
Parameters:
Name Type Description
conn A valid Database instance
Author:
  • Frank Villasenor
Source:
Returns:
A promise with the result {version: {string}}
Type
promise