← All tables

mdl_tenant_config

REBUILDMoodle configuration / presentation / plugin settings · 7 columns

Proposed target

Reimplement required settings in Lovable backend/config; do not bulk-copy configuration rows

Migration rule

Moodle-specific settings rarely map 1:1 to a new app

Verification required

Review site config, themes, roles/capabilities, plugin defaults and operational runbooks

Tracking

Sign in to update status, owner and notes.

ColumnTypeNullDefaultTarget mappingRisk
idbigintNot nullPreserve as legacy source ID; generate target PK unless target accepts stable legacy key.High: verify semantics/relationship/security
tenantidvarchar(100)Not null''Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
hosturlvarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
wstokenvarchar(255)Not null''EXCLUDE from app migration; credential/secret handling requires security review.High: verify semantics/relationship/security
timecreatedbigintNot nullConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
timemodifiedbigintNot nullConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
usermodifiedbigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference