Import SQL from file example
parent
6a2784c7d5
commit
b02c5e4e27
1 changed files with 10 additions and 0 deletions
|
|
@ -16,4 +16,14 @@ setup:
|
|||
complete:
|
||||
mysql:
|
||||
- "DROP DATABASE my_app_test;"
|
||||
```
|
||||
|
||||
Import SQL from file:
|
||||
```yaml
|
||||
setup:
|
||||
mysql:
|
||||
import-from-file: # This key name doesn´t matter
|
||||
import:
|
||||
database: "foo" # Database name
|
||||
file: "/path/dump.sql" # Relative path in build folder
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue