B2G/gaia/apps/communications/dialer/js/call_log_db.js
/**
   * Create the initial database schema.
   *
   * param db
   *        Database instance.
   */
Create the initial database schema.
param db
Database instance.
Create the initial database schema . param db Database instance .
function createSchema(db, next) {
    var objStore = db.createObjectStore(this._dbRecentsStore,
                                        { keyPath: 'date' });
    objStore.createIndex('number', 'number');
    next();
  }
function createSchema ( db , next ) { var objStore = db . createObjectStore ( this . _dbRecentsStore , { keyPath : 'date' } ) ; objStore . createIndex ( 'number' , 'number' ) ; next ( ) ; }
Create the initial database schema.
Create the initial database schema .
// The object store hosting the recents calls will contain entries like: // { date: <Date> (primary key), //   number: <String>, //   type: <String>, //   groupId: <Number> }