Skip to content

Access mongo create schema in parse #4458

Closed
@ghost

Description

We use GitHub Issues for bugs.

If you have a non-bug question, ask on Stack Overflow or Server Fault:

If you have a vulnerability disclosure, please follow our policy available here https://github.com/parse-community/parse-server/blob/master/SECURITY.md

You may also search through existing issues before opening a new one: https://github.com/parse-community/parse-server/issues?utf8=%E2%9C%93&q=is%3Aissue

--- Please use this template. If you don't use this template, your issue may be closed without comment. ---

Issue Description

I am drynamically creating schema in mongodb and want it to show in parse, but it won't

Steps to reproduce

here is an example of how I create my schema:

db.createCollection ( "invoices", { capped : false, autoIndexId : true, //max : 0, validationLevel : "strict", validator : { $jsonSchema : { bsonType : "object", required : [ "customer", "company", "user", "date", "dateDue", "status", "terms" ] } } } );

Expected Results

I expect to have the schema showing in Parse and dashboard

Actual Outcome

Nothing shows dispite it showing in the mongodb collection list

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 1.11
    • Operating System: [FILL THIS OUT]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): AWS
  • Database

    • MongoDB version: 3.4.7
    • Storage engine: [FILL THIS OUT]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): AWS

Logs/Trace

Include all relevant logs. You can turn on additional logging by configuring VERBOSE=1 in your environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions