add private event support

This commit is contained in:
2024-04-23 19:13:42 +10:00
parent 735d39f52e
commit d6b6cb49cf
4 changed files with 12 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ Artisan::command('cleanup', function() {
// Close workshops
DB::table('workshops')
->whereIn('status', ['open', 'full'])
->whereIn('status', ['open', 'full', 'private'])
->where('closes_at', '<', now())
->update(['status' => 'closed']);