ORM usage patterns for queries, relations, and migrations. Use when writing data access code or schema changes with an ORM.