You have access to the same database tools Laravel gives you. Any migrations in
/database/migrations will be published and migrated when your module is published to the portal, and your models can work using the Eloquent base model as normal. The only thing you need to be aware of is making sure you start your table name with your module alias, to limit conflicts. Also see the Authentication/Authorization documentation for more information about the Activity Instance.