Skip to content


Apply a plan (DDL) against a running database.


kubectl schemahero apply

Flag Type Description
--driver string The database driver to connect with. Must be postgres, mysql, or cockroachdb
--ddl string The filename or directory name containing the rendered DDL statements (output of plan) to execute
--uri string The database URI to connect to. Must be accessible from the workstation running the command
-h, --help help for install

In addition to the flags documented above, this command accepts all shared flags.