SQLStart starts the SQL database of the development environment.
()
| 87 | |
| 88 | // SQLStart starts the SQL database of the development environment. |
| 89 | func (Dev) SQLStart() error { |
| 90 | if mg.Verbose() { |
| 91 | fmt.Println("Starting SQL database") |
| 92 | } |
| 93 | if err := execDockerCompose(append([]string{"up", "-d"}, sqlDatabase)...); err != nil { |
| 94 | return err |
| 95 | } |
| 96 | return execDockerCompose("ps") |
| 97 | } |
| 98 | |
| 99 | // SQLStop stops the SQL database of the development environment. |
| 100 | func (Dev) SQLStop() error { |
nothing calls this directly
no test coverage detected