-
Notifications
You must be signed in to change notification settings - Fork 24
fix: enhance project initialization and menu transformation capabilities #631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
fa3fa5c
9f0e7ab
5a5cc98
5a5786b
809e6fd
464884a
69e3adb
b9bc59d
612c2a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -166,6 +166,11 @@ class MongoConnector extends AdminForthBaseConnector implements IAdminForthDataS | |
| }; | ||
| }); | ||
| } | ||
|
|
||
| async isDatabaseEmpty(): Promise<boolean> { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think prisma for mongo has no sense at all. Never. It works with mongo - yes. But not for migrations - this is for typesafe prisma client which we dont use anyway!
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Prisma is already not offered for MongoDB. The dialog is not shown for MongoDB creation, so this part already works as expected.
|
||
| const collections = await this.client.db().listCollections({}, { nameOnly: true }).toArray(); | ||
| return collections.every((collection) => collection.name.startsWith('system.')); | ||
| } | ||
|
|
||
|
|
||
| async discoverFields(resource) { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.