1
0
Fork 0

Restored setup script.

This commit is contained in:
Alan Plum 2015-05-20 16:27:18 +02:00
parent d4285fc6fd
commit abe77c8738
2 changed files with 12 additions and 0 deletions

View File

@ -26,6 +26,10 @@
"lib": ".",
"scripts": {
"setup": "setup.js"
},
"tests": "test/**",
"configuration": {

View File

@ -0,0 +1,8 @@
/*global applicationContext */
'use strict';
var db = require('org/arangodb').db;
var collectionName = '_sessions';
if (db._collection(collectionName) === null) {
db._create(collectionName, {isSystem: true});
}