Skip to main content

tcb db model push

Push local data models to the cloud.

Usage​

tcb db model push [options] -e <envId>

Parameters​

ParameterRequiredDescriptionDefault
-e, --env-id <envId>NoEnvironment ID—
-d, --dir <dir>NoLocal model file directory, resolved against the current directorydatabase-schemas under the project directory
-n, --name <name>NoComma-separated model names to push, batch push supportedAll models in the local directory

Examples​

# Push all models
tcb db model push -e your-env-id

# Push specific models
tcb db model push -n sys_user,product -e your-env-id

# Push from a specific directory
tcb db model push -d ./models -e your-env-id