WRDSchema2017::ApplySchemaDefinition (open)
Update this WRD schema's metadata
Syntax
LOADLIB "mod::wrd/lib/internal/wrdschema.whlib";
MACRO ApplySchemaDefinition(RECORD options)
Parameters
RECORD options
Options
BOOLEAN applysettings
Apply schema settings (defaults to TRUE)
BOOLEAN force
Always update, even if the schema resources haven't changed
BOOLEAN fromexternal
Set to true if the source is an external server
BOOLEAN reportskips
Log skipped schemas to stderr
BOOLEAN reportupdates
Log updated schemas to stderr
STRING schemaresource
Schema resource to use (if not set, we'll use the moduldedefinition's specified schema)
BOOLEAN skipmigrations
Skip any migrations (note that we never run migrations if fromexternal is set)