Initial hop. implementation and UGREEN NAS deployment guide
This commit is contained in:
3
apps/server/drizzle/0006_file_url_only.sql
Normal file
3
apps/server/drizzle/0006_file_url_only.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
UPDATE transfer_requests SET status = 'cancelled' WHERE kind = 'text' AND status IN ('pending','accepted') AND EXISTS (SELECT 1 FROM transfer_batches b WHERE b.requestId = transfer_requests.id AND b.status IN ('waiting','uploading'));
|
||||
--> statement-breakpoint
|
||||
UPDATE transfer_batches SET status = 'failed' WHERE status IN ('waiting','uploading') AND EXISTS (SELECT 1 FROM transfer_requests r WHERE r.id = transfer_batches.requestId AND r.kind = 'text');
|
||||
Reference in New Issue
Block a user