schema:push

Push a directory of .fsl files to Fauna.

Syntax

fauna schema:push --dir <value> [--domain <value>] [--scheme https|http] [--port <value>] [--timeout <value>] [--secret <value>] [--endpoint <value>] [--force] [--help]

Description

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

Arguments

None

Options

Option Description

--dir

(required) Directory of .fsl files to push.

--domain

Fauna server domain.

--endpoint

Fauna server endpoint.

--force

Push the change without a diff or schema version check.

--help

Help for schema:push command.

--port

Connection port.

--scheme

Connection scheme:
     `http`
     `https`

--secret

Fauna secret key.

--timeout

Connection timeout in milliseconds.

Examples

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!