Homepage

admin_model_schema_create

Last edit: Nov 10, 2026

Creates a model schema (table) with its properties, and returns it. Same as
admin_table_create. Raises a validation error if a schema with the same name already exists

admin_model_schema_create(
  model_schema: ModelSchemaInputType!
): ModelSchema

Arguments

model_schema (ModelSchemaInputType)

Attributes of the new schema

Type

ModelSchema

Model schema, the former name of a table (app/schema). Deprecated, use Table instead

Questions?

We are always happy to help with any questions you may have.

contact us