Skip to content

tachyon schema

How to keep schemas in Git and move them between environments is in Schema files.

Keep collection schemas in a JSON file: export, compare, apply
Usage: tachyon schema [OPTIONS] <COMMAND>
Commands:
export Write every collection's schema as JSON
diff Show what applying a schema file would change, without changing anything
apply Apply a schema file. Changes that delete or retype data need --yes
help Print this message or the help of the given subcommand(s)
Options:
--config <CONFIG> Config file. Every setting can also come from a TACHYON_* environment variable [default: tachyon.toml]
-h, --help Print help