dont make test board, only makes admin account

merge-requests/208/head
fatchan 5 years ago
parent 9a0196bfb5
commit d50423e110
  1. 17
      gulpfile.js

@ -66,23 +66,6 @@ async function wipe() {
Modlogs.deleteAll()
]);
//add test boards
Boards.insertOne({
'_id': 'test',
'owner': '',
'banners': [],
'pph': 0,
'ips': 0,
'lastPostTimestamp': null,
'sequence_value': 1,
'settings': {
'name': 'test',
'description': 'testing board',
'tags': [],
'moderators': [],
...configs.boardDefaults
}
});
//add indexes - should profiled and changed at some point if necessary
await Stats.db.createIndex({board:1, hour:1})
await Boards.db.createIndex({ips: 1, pph:1, sequence_value:1})

Loading…
Cancel
Save