1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 07:54:04 +00:00

Pending tenants refactor (BC break)

- [BC BREAK] Make pullPendingFromPool() $firstOrCreate arg
  default to false (pullPending() is now a direct alias for
  pullPendingFromPool() with default $firstOrCreate=true)
- Resolve race conditions in pullPendingFromPool()
- Make createPending() set pending_since regardless of exceptions
- Make pullPending() accept $attributes
- Fire PullingPendingTenant from within a DB transaction
- Clarify --count arg description for CreatePendingTenants command
- Add docblock to PullingPendingTenant with a notice
This commit is contained in:
Samuel Štancl 2025-08-24 23:54:34 +02:00
parent 7089efb2ee
commit 6b0066c5ef
3 changed files with 45 additions and 25 deletions

View file

@ -8,7 +8,7 @@ use Illuminate\Console\Command;
class CreatePendingTenants extends Command
{
protected $signature = 'tenants:pending-create {--count= : The number of pending tenants to be created}';
protected $signature = 'tenants:pending-create {--count= : The number of pending tenants to maintain}';
protected $description = 'Create pending tenants.';