Skip to main content
Logo
    • GitHub
    Tagged Posts

    #Migrations

    2 posts tagged with "Migrations"

    database

    Database & Migrations

    Nov 12, 2026 4 min read

    Mule stores every primitive — providers, agents, tools, skills, workflows, jobs, WASM modules, wakes, policies, users, and API keys — in a single PostgreSQL database. There is no other supported storage backend.

    This page covers how Mule connects to Postgres, how the schema is created and evolved automatically at startup, and which tables make up the data model.

    Connecting link

    The database is configured with the -db CLI flag — a standard PostgreSQL connection string. There is no environment-variable equivalent:

    Read Article
    golang

    My Schema Ships in the Binary — 300 Lines of Embedded Migrations and Three Files Named 0002

    Nov 13, 2026 6 min read

    There is a file in my repo called internal/database/migrator.go. It is a little over 300 lines including comments, it has no dependencies beyond lib/pq, and it has moved my agent platform’s Postgres schema through sixteen versions without a single “run the migrate tool first” comment in a deploy ticket. This is a post about why I trust 300 lines more than a dependency, and about the four ways it can still bite me — because I’m not going to pretend hand-rolled means bite-free.

    Read Article

    Related Tags

    #database #postgres #migrations #schema #settings #golang #mule-ai
    All Tags Back to Blog