lib/mysql-store.js
function Store(conString, options) {
  var self = this;
  this._table = "passwordless";
  this._client = mysql.createPool(conString);
  this._client.query("CREATE TABLE IF NOT EXISTS " + this._table + " " + 
    "( id serial NOT NULL, uid character varying(160), token character varying(60) NOT NULL, origin text, ttl bigint, " + 
    "CONSTRAINT passwordless_pkey PRIMARY KEY (id), CONSTRAINT passwordless_token_key UNIQUE (token), CONSTRAINT passwordless_uid_key UNIQUE (uid) )");
}
function Store(conString, options) {
  var self = this;
  this._table = "passwordless";
  this._client = mysql.createPool(conString);
  this._client.query("CREATE TABLE IF NOT EXISTS " + this._table + " " + 
    "( id serial NOT NULL, uid character varying(160), token character varying(60) NOT NULL, origin text, ttl bigint, " + 
    "CONSTRAINT passwordless_pkey PRIMARY KEY (id), CONSTRAINT passwordless_token_key UNIQUE (token), CONSTRAINT passwordless_uid_key UNIQUE (uid) )");
}
function Store ( conString , options ) { var self = this ; this . _table = "passwordless" ; this . _client = mysql . createPool ( conString ) ; this . _client . query ( "CREATE TABLE IF NOT EXISTS " + this . _table + " " + "( id serial NOT NULL, uid character varying(160), token character varying(60) NOT NULL, origin text, ttl bigint, " + "CONSTRAINT passwordless_pkey PRIMARY KEY (id), CONSTRAINT passwordless_token_key UNIQUE (token), CONSTRAINT passwordless_uid_key UNIQUE (uid) )" ) ; }
Constructor of Store
@param {String} conString URI as defined by the MySQL specification.
@param {Object} [options] Combines both the options for the MySQL Client as well
as the options for Store. For the MySQL Client options please refer back to
the documentation.
@constructor
Constructor of Store