SchemaOptions

SchemaOptions

Properties:
Name Type Description
afterMigration function

Execute a callback after running schema migrations.

beforeMigration function

Execute a callback before running schema migrations.

definitions Any

Rest representation on Parse.Schema https://docs.parseplatform.org/rest/guide/#adding-a-schema

deleteExtraFields Boolean

Is true if Parse Server should delete any fields not defined in a schema definition. This should only be used during development.

lockSchemas Boolean

Is true if Parse Server will reject any attempts to modify the schema while the server is running.

recreateModifiedFields Boolean

Is true if Parse Server should recreate any fields that are different between the current database schema and theschema definition. This should only be used during development.

strict Boolean

Is true if Parse Server should exit if schema update fail.