mirror of https://gitee.com/bigwinds/arangodb
11 lines
322 B
JavaScript
11 lines
322 B
JavaScript
/*jslint indent: 2, nomen: true, maxlen: 120, es5: true */
|
|
/*global require, applicationContext */
|
|
(function () {
|
|
'use strict';
|
|
var db = require('org/arangodb').db,
|
|
sessionsName = applicationContext.collectionName('sessions');
|
|
|
|
if (db._collection(sessionsName) === null) {
|
|
db._create(sessionsName);
|
|
}
|
|
}()); |