mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-15 20:47:46 +02:00
refactor(migrations): set namespace to null to run all migrations during install and updates
This commit is contained in:
parent
b07ac093b2
commit
07780c5f6f
2 changed files with 3 additions and 31 deletions
|
|
@ -44,21 +44,7 @@ class AboutController extends BaseController
|
|||
{
|
||||
$migrate = Services::migrations();
|
||||
|
||||
$migrate->setNamespace('CodeIgniter\Settings')
|
||||
->latest();
|
||||
$migrate->setNamespace('CodeIgniter\Shield')
|
||||
->latest();
|
||||
$migrate->setNamespace('Modules\Fediverse')
|
||||
->latest();
|
||||
$migrate->setNamespace(APP_NAMESPACE)
|
||||
->latest();
|
||||
$migrate->setNamespace('Modules\WebSub')
|
||||
->latest();
|
||||
$migrate->setNamespace('Modules\Auth')
|
||||
->latest();
|
||||
$migrate->setNamespace('Modules\PremiumPodcasts')
|
||||
->latest();
|
||||
$migrate->setNamespace('Modules\Analytics')
|
||||
$migrate->setNamespace(null)
|
||||
->latest();
|
||||
|
||||
return redirect()->back()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue