How to create a model

How to create a model and register it with container. Do i only need to create a model and add it in the config file.

Can I directly add tables to db with out using oninstall or onupdate function . will it still work

How to create a model and register it with container. Do i only need to create a model and add it in the config file.
Can I directly add tables to db with out using oninstall or onupdate function . will it still work

You should rather use migrations for db schema update :wink: