Database Migrations: Version Your Schema Safely
Learn how to manage database schema changes with migration tools like Alembic, Flyway, and Knex. Covers rollback strategies, zero-downtime migrations, and team workflows.
5 posts · page 1 of 1
Learn how to manage database schema changes with migration tools like Alembic, Flyway, and Knex. Covers rollback strategies, zero-downtime migrations, and team workflows.
Design GraphQL schemas that scale: types, queries, mutations, connections, pagination, nullability, naming conventions, and patterns for evolving your API over time.
Compare the errors array, union result types, and partial responses to design predictable, typed error handling for your GraphQL APIs and clients.
Use Zod to validate and infer types for request payloads, environment variables, and external data in Node.js apps.
A practical guide to GraphQL schemas — SDL, scalar types, Query and Mutation roots, custom object types, resolver functions, and how to avoid the N+1 problem with DataLoader.