WRDSchema2017::ApplySchemaDefinition (open)
Update this WRD schema's metadata
Syntax
LOADLIB "mod::wrd/lib/internal/wrdschema.whlib";
MACRO ApplySchemaDefinition(RECORD options)Parameters
RECORD optionsOptions
BOOLEAN applysettingsApply schema settings (defaults to TRUE)
BOOLEAN forceAlways update, even if the schema resources haven't changed
BOOLEAN fromexternalSet to true if the source is an external server
BOOLEAN isprimaryschemaSet if this is the moduledef-defined schema and not just a (temorary, adhoc?) extension, and should be recorded as such
BOOLEAN reportskipsLog skipped schemas to stderr
BOOLEAN reportupdatesLog updated schemas to stderr
STRING schemaresourceSchema resource to use (if not set, we'll use the moduldedefinition's specified schema)
BOOLEAN skipmigrationsSkip any migrations (note that we never run migrations if fromexternal is set)