mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 15:48:15 +00:00
Update cheatsheets
This commit is contained in:
33
cradle-sql
Normal file
33
cradle-sql
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user