RunAllMigrations applies all system and app migrations (aka. from both [core.SystemMigrations] and [core.AppMigrations]).
()
| 795 | // RunAllMigrations applies all system and app migrations |
| 796 | // (aka. from both [core.SystemMigrations] and [core.AppMigrations]). |
| 797 | func (app *BaseApp) RunAllMigrations() error { |
| 798 | list := MigrationsList{} |
| 799 | list.Copy(SystemMigrations) |
| 800 | list.Copy(AppMigrations) |
| 801 | _, err := NewMigrationsRunner(app, list).Up() |
| 802 | return err |
| 803 | } |
| 804 | |
| 805 | // ------------------------------------------------------------------- |
| 806 | // App event hooks |
no test coverage detected