Skip to content

Commit

Permalink
Fix migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeygeno committed Aug 8, 2023
1 parent dbb1dd5 commit 2baa569
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -32,7 +32,7 @@ public function up()
$collection->index(['id' => 1], 'id_unique_index', null, ['unique' => true]);
/* @phpstan-ignore-next-line */
$collection->index(['updated' => 1], 'updated_expiration_index', null,
['expireAfterSeconds' => config('phone-verification.manager.rate_limits.initiate.period_secs')]
['expireAfterSeconds' => config('phone-verification.manager.rate_limits.complete.period_secs')]
);
});
}
Expand Down
Expand Up @@ -32,7 +32,7 @@ public function up()
$collection->index(['id' => 1], 'id_unique_index', null, ['unique' => true]);
/* @phpstan-ignore-next-line */
$collection->index(['created' => 1], 'created_expiration_index', null,
['expireAfterSeconds' => config('phone-verification.manager.rate_limits.complete.period_secs')]
['expireAfterSeconds' => config('phone-verification.manager.rate_limits.initiate.period_secs')]
);
});
}
Expand Down

0 comments on commit 2baa569

Please sign in to comment.