Skip to content

Commit

Permalink
docs: add note about reserved Remote upload type (#896)
Browse files Browse the repository at this point in the history
In NFT.Storage pin requests are added to the upload table with type "Remote". In dagcargo, PSA pin requests from Web3.Storage are combined with uploads (as they are in NFT.Storage) and are artificially given a type "Remote". Hence specifically adding a "Remote" type here would be problematic.
  • Loading branch information
Alan Shaw authored Jan 25, 2022
1 parent 6b19d5d commit 9f5df56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/db/postgres/tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ BEGIN
'Blob',
-- A multi file upload using a multipart request.
'Multipart'
-- Note: "Remote" is reserved by dagcargo to identify PSA pin request
-- "uploads" and cannot be used here!
);
END IF;
END$$;
Expand Down

0 comments on commit 9f5df56

Please sign in to comment.