examples/

directory
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2023 License: Apache-2.0

README

Examples

The following examples are provided with a plain sqlite3 DB for demoing purpose.

Obvisouly, they translate easily into production-ready DBs such as Postgres or MySQL.

multi-env

Demonstrates how to run environment-specific migrations.

go-migrations

Demonstrates how to run go migrations (from embedded FS).

osfs

Demonstrates how to run migrations from plain OS FS (which is the default).

communicate-with-app

Demonstrates how go migrations may interact with the main app to share settings via context.

multi-lanes

Demonstrate how to set up several migration lanes at deployment time: a fast lane and a long-running one, which continues running after a deployment is done.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL