Skip to main content
These commands help you manage your Zeplo database layer. Push schema changes, generate migration files, seed data, and open a visual database explorer directly from the terminal.

zeplo db push

Push your local schema changes directly to the database. This command compares your current schema definitions against the live database and applies the necessary changes. It skips generating migration files, making it ideal for rapid prototyping.

Options

Examples

zeplo db generate

Generate migration files from your current schema definitions. This command inspects your schema, computes the diff against the last generated migration, and writes new SQL migration files to your migrations directory.

Options

Examples

zeplo db seed

Run your seed scripts to populate the database with initial or sample data. This command executes the seed file defined in your project configuration.

Options

Examples

zeplo db studio

Open Drizzle Studio, a browser-based GUI for exploring and editing your database. This launches a local development server and opens your default browser to the Studio interface.

Options

Examples