Insert a model value into the table. Fields come from the value'sToJson representation, converted per the column types; fields without amatching column are ignored, columns without a matching field bind NULL.
Apply pending migrations in ascending version order. Already-appliedversions (recorded in the moonway_migrations table) are skipped; therunner stops at the first failing statement and returns false.
Convert a JSON field value (as produced by ToJson-derived models) into abindable SQLite value for the given column type. Json null maps to SQLNULL. Mismatched shapes degrade to best-effort conversions — the schemaand the struct are expected to agree.
Declare a table. This description is the source of truth for migrationsand the admin UI. Row values flow through the builtin derive(ToJson,FromJson) — struct field names are the keys, column types drive thestorage conversion.