1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.it/common/cradle-sql.md

29 lines
630 B
Markdown
Raw Permalink Normal View History

2019-04-21 18:45:42 +02:00
# cradle sql
> Gestisci database SQL di Cradle.
2019-06-09 19:54:08 +02:00
> Maggiori informazioni: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#sql>.
2019-04-21 18:45:42 +02:00
- Ricostruisci lo schema del database:
`cradle sql build`
- Ricostruisci lo schema del database per uno specifico pacchetto:
`cradle sql build {{nome_pacchetto}}`
- Svuota l'intero database:
`cradle sql flush`
- Svuota le tabelle del database per uno specifico pacchetto:
`cradle sql flush {{nome_pacchetto}}`
- Popola le tabelle per tutti i pacchetti:
`cradle sql populate`
- Popola le tabelle per uno specifico pacchetto:
`cradle sql populate {{nome_pacchetto}}`