examples/

directory
v0.1.0 Latest Latest
Warning

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

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

README

Examples

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

Of course, they translate easily with production-ready DB 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

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

communicate-with-app

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

multi-lanes

Demonstrate how to setup several migration lanes at deployment time: a fast lane and a long-running one, that 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