This repo is a Cloudflare Worker for adding artifact metadata to the database.
This worker accepts POST
requests containing the artifact metadata JSON to this endpoint:
https://submit.acearchive.lgbt/submit
This worker is called by acearchive/artifact-submit-action to upload new artifact metadata and stores the metadata in a Cloudflare D1 SQLite database.
This repo is where the database migrations live, in the migrations/ directory. You can apply migrations with Wrangler.
You can find documentation for the database schema in the docs/ directory. The schema is documented via dbdiagram.io.