System Grab Bag

View all TLDR pages from common (or from all pages)

cradle sql

Manage Cradle SQL databases. More information: https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#sql.
  • Rebuild the database schema:
    cradle sql build
  • Rebuild the database schema for a specific package:
    cradle sql build {{package}}
  • Empty the entire database:
    cradle sql flush
  • Empty the database tables for a specific package:
    cradle sql flush {{package}}
  • Populate the tables for all packages:
    cradle sql populate
  • Populate the tables for a specific package:
    cradle sql populate {{package}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.