schema push

Push a directory of .fsl files to Fauna.

Syntax

fauna schema push [--url <value>] [--timeout <value>] [--secret <value>] [--endpoint <value>] [--environment <value>] [--dir <value>] [--force] [--help]

Description

The schema push command pushes a directory of .fsl files to Fauna.

Arguments

None

Options

Option Description

--dir

Directory of .fsl files to push. Defaults to the .fauna-project directory.

--endpoint

Fauna server endpoint.

--environment

Environment to use, from a Fauna project.

--force

Push the change without a diff or schema version check.

--help

Help for schema push command.

--secret

Fauna secret key.

--timeout

Connection timeout in milliseconds.

--url

Database URL. Overrides the url in ~/.fauna-shell.

Examples

fauna schema push
fauna schema push --dir schemas/myschema

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!