syncstores command

Initialize tables in persistent store databases. To learn more about persistent stores see Persistent Stores API.

usage: tethys syncstores [-h] [-r] [-f] [-d DATABASE] [-m MANAGE]
                         app [app ...]

Positional Arguments

app

Name of the target on which to perform persistent store sync OR "all" to sync all of them.

Named Arguments

-r, --refresh

When called with this option, the tables will be dropped prior to syncing resulting in a refreshed database.

Default: False

-f, --firsttime

Call with this option to force the initializer functions to be executed with "first_time" parameter True.

Default: False

-d, --database

Name of database to sync.

-m, --manage

Absolute path to manage.py for Tethys Platform installation.