Target: understanding DB tables as projections, and how to generate them.
Edit and run project-last-temperature.php.
- write a DB migration with your own table (see existing migrations)
- write a
DbTableProjectionDefinition
that defines what we should do for each event. See an example projection definition for inspiration. - create a
ProcessProjectionOnTable
and run it - run your script, observe the database state