command module
Version: v0.0.0-...-a4c3d24 Latest Latest

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

Go to latest
Published: Sep 7, 2023 License: BSD-2-Clause Imports: 9 Imported by: 0


Migrations example

To run this example, you need a ClickHouse database:

clickhouse-client -q "CREATE DATABASE test"

To run migrations:

go run . db migrate

To rollback migrations:

go run . db rollback

To view status of migrations:

go run . db status

To create a Go migration:

go run . db create_go go_migration_name

To create a SQL migration:

go run . db create_sql sql_migration_name

See ClickHouse migrations for details.


The Go Gopher

There is no documentation for this package.


Path Synopsis

Jump to

Keyboard shortcuts

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