mirror of
https://github.com/samply/bridgehead.git
synced 2026-06-23 16:10:17 +02:00
Add general OVIS bridgehead project
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
const rootUsername = process.env.OVIS_ROOT_USERNAME || 'ovis-root';
|
||||
const databaseName = process.env.DB || 'onc_test';
|
||||
|
||||
db = db.getSiblingDB(databaseName);
|
||||
db.createCollection('user');
|
||||
db.user.insertMany([
|
||||
{
|
||||
_id: rootUsername,
|
||||
createdAt: new Date(),
|
||||
createdBy: 'system',
|
||||
role: 'super-admin',
|
||||
status: 'active',
|
||||
pseudonymization: false,
|
||||
darkMode: false,
|
||||
colorTheme: 'CCCMunich',
|
||||
language: 'en'
|
||||
}
|
||||
]);
|
||||
Reference in New Issue
Block a user