Documentation
¶
Overview ¶
Example:
- Make changes to schema files (internal/storage/persistence/ent/schema),
- Re-generate (make gen-ent),
- Drop any existing database tables or delete and re-create the database,
- Run: $ go run ./cmd/migrate/ \ --config="./enduro.toml" \ --dsn="mysql://enduro:enduro123@tcp(localhost:3306)/enduro_storage" \ --name="init" \ --path="./internal/storage/persistence/migrations"
Click to show internal directories.
Click to hide internal directories.