mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Skips pgsql for some reason.
This commit is contained in:
parent
831272d971
commit
7775a0141b
@ -30,11 +30,13 @@ class FixPostgresSequences extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle(): int
|
public function handle(): int
|
||||||
{
|
{
|
||||||
|
|
||||||
if (DB::connection()->getName() !== 'pgsql') {
|
if (DB::connection()->getName() !== 'pgsql') {
|
||||||
$this->info('Command executed successfully.');
|
$this->info('Command executed successfully.');
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
$this->line('Going to verify PostgreSQL table sequences.');
|
||||||
$tablesToCheck = [
|
$tablesToCheck = [
|
||||||
'2fa_tokens',
|
'2fa_tokens',
|
||||||
'account_meta',
|
'account_meta',
|
||||||
|
@ -130,7 +130,6 @@ class UpgradeDatabase extends Command
|
|||||||
$result = Artisan::output();
|
$result = Artisan::output();
|
||||||
echo $result;
|
echo $result;
|
||||||
|
|
||||||
// artisan firefly-iii:fix-pgsql-sequences
|
|
||||||
$this->line('Fix PostgreSQL sequences.');
|
$this->line('Fix PostgreSQL sequences.');
|
||||||
Artisan::call('firefly-iii:fix-pgsql-sequences');
|
Artisan::call('firefly-iii:fix-pgsql-sequences');
|
||||||
$result = Artisan::output();
|
$result = Artisan::output();
|
||||||
|
Loading…
Reference in New Issue
Block a user