tldr/pages/common/cradle-sql.md

480 B

cradle sql

Manage Cradle SQL databases.

  • Rebuild the database schema:

cradle sql build

  • Rebuild the database schema for a specific package:

cradle sql build {{package_name}}

  • Empty the entire database:

cradle sql flush

  • Empty the database tables for a specific package:

cradle sql flush {{package_name}}

  • Populate the tables for all packages:

cradle sql populate

  • Populate the tables for a specific package:

cradle sql populate {{package_name}}