Product documentationbeginner10 minutes
Add or change a field
Add or change a field in a Jotsu application while preserving existing records, updating validation, and keeping forms and views consistent.
Ask Codex to update the database schema, input validation, form, and relevant views as one change.
Add an optional renewal date to accounts.
Show it in the account form and account detail page. Add it to the accounts table,
but do not change existing records. Validate it as a date and verify the migration.
Use a clear type: text, number, date, boolean, status, select, relationship, or structured JSON. State whether the field is required and what existing records should receive.
After Codex finishes, create or edit a record, reload the page, and confirm the value remains. Review the dev logs for migration or validation errors.