I'm trying to get the Tutorial 7 working, https://docs.phalconphp.com/en/latest/reference/tutorial-rest.html and I can't figure out what to do with a code chunk in the tutorial. Specifically where it says, "Now, we must set up a connection to be used by this model and load it within our app:" Where does the code that follows go? It never indicates a file it should be put in or even added to an existing file. What do I do with that code?
Additionally, the docs never indicate what the schema is for the database. As best I can figure out, it should be:
Database: Robotics Table: Robots Primary Key: ID Fields: name, type, year