Data · rule
migration.out_of_date
Entities and the latest migration disagree.
Area 5, Data; not declinable; the next step is usually the agent's.
A project with an entity and no migration yet:
entity Note { id: Uuid body: Text}
error: No migration creates these entities' tables yet --> domains/notes/entities/note.jadpo:1:8 |1 | entity Note { | ^^^^ no table yet reason: `jadpo check` compares the database schema the entities ask for with the migrations in `database/migrations/`, and there are none: new entity `Note`, new system table for circuit breakers, new system table for deliveries, new system table for handled deliveries, new system table for housekeeping, and 3 more. next: Run `jadpo migrate new initial` (agent) rule: migration.out_of_date help: https://jadpo.dev/docs/errors/migration.out_of_datecheck failed: 1 error, 2 files
Markdown for agents: /docs/errors/migration.out_of_date.md.Built from Jadpo main at a707efb.