Skip to content

Core\Db\Plan\Step

One difference in a plan: how risky the change is, the reason for that grade, and the SQL that makes the change.

Members

4 members.

MemberSignature
gradegrade(): Core\Db\Plan\Step::Grade
reasonreason(): string
sqlsql(): string
isRefusedisRefused(): bool

Enums

  • GradeThe worst risk of one step of a schema plan. A deployment can use it to run only the steps it is willing to run without a person watching.

Example apps

These complete apps use this class. You can download and run each one.

  • Chat: A chat app with rooms, WebSockets and SQLite. One Novis server sends the pages and runs every connection, with no separate WebSocket server and no library.
  • Notes: A small notes app with SQLite, HTML pages, a JSON API, form checks and tests. Download it, run it and start your own app from it.
  • Poll: A live poll with SQLite and server-sent events. Every open page shows each new vote at once, with no extra server and no library.