mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 21:44:51 +00:00
Set app version on install and updates
This commit is contained in:
@@ -5,6 +5,7 @@ namespace Database\Seeders;
|
||||
use App\Models\Company;
|
||||
use App\Models\Setting;
|
||||
use App\Models\User;
|
||||
use App\Space\InstallUtils;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Silber\Bouncer\BouncerFacade;
|
||||
use Vinkla\Hashids\Facades\Hashids;
|
||||
@@ -38,5 +39,7 @@ class UsersTableSeeder extends Seeder
|
||||
$user->assign('super admin');
|
||||
|
||||
Setting::setSetting('profile_complete', 0);
|
||||
// Set version.
|
||||
InstallUtils::setCurrentVersion();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user