migrate

command
v0.0.0-...-c1e6758 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Example:

  1. Make changes to schema files (internal/storage/persistence/ent/schema),
  2. Re-generate (make gen-ent),
  3. Run: $ go run ./cmd/migrate/ \ --config="./enduro.toml" \ --dsn="mysql://enduro:enduro123@tcp(localhost:3306)/enduro_storage" \ --name="init" \ --path="./internal/storage/persistence/migrations"

Jump to

Keyboard shortcuts

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