Skip to content

Commit b054d11

Browse files
committed
update seed db schema
1 parent 82dd6a7 commit b054d11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

addons/init-mongo.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ function seed(dbName, user, password) {
1010
db.createCollection('roles');
1111

1212
db.api_keys.insert({
13-
metadata: 'To be used by the xyz vendor',
1413
key: 'GCMUDiuY5a7WvyUNt9n3QztToSHzK7Uj',
14+
permissions: ['GENERAL'],
15+
comments: ['To be used by the xyz vendor'],
1516
version: 1,
1617
status: true,
1718
createdAt: new Date(),

0 commit comments

Comments
 (0)