Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/cradle-sql Normal file
View 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}}`