PostImportDBAction calls each apptype's detector until it finds a match, or returns 'php' as a last resort.
()
| 462 | // PostImportDBAction calls each apptype's detector until it finds a match, |
| 463 | // or returns 'php' as a last resort. |
| 464 | func (app *DdevApp) PostImportDBAction() error { |
| 465 | if appFuncs, ok := appTypeMatrix[app.Type]; ok && appFuncs.postImportDBAction != nil { |
| 466 | return appFuncs.postImportDBAction(app) |
| 467 | } |
| 468 | |
| 469 | return nil |
| 470 | } |
| 471 | |
| 472 | // ConfigFileOverrideAction gives a chance for an apptype to override any element |
| 473 | // of config.yaml that it needs to |