DBSQL starts an SQL shell.
()
| 245 | |
| 246 | // DBSQL starts an SQL shell. |
| 247 | func (Dev) DBSQL() error { |
| 248 | mg.Deps(Dev.DBStart) |
| 249 | if mg.Verbose() { |
| 250 | fmt.Println("Starting SQL shell") |
| 251 | } |
| 252 | return execDockerCompose("exec", "postgres", "psql", devDatabaseName) |
| 253 | } |
| 254 | |
| 255 | // DBCreate creates the SQL databases used for unit tests. |
| 256 | func (Dev) DBCreate() error { |
nothing calls this directly
no test coverage detected