Add full sortof codebase: API, drain workers, frontend, schema, specs
This commit is contained in:
12
init/04_required_wsids.sql
Normal file
12
init/04_required_wsids.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
-- Required Items scraped from each mod's Steam Workshop page (the "Required
|
||||
-- Items" section). Steam's anonymous GetPublishedFileDetails endpoint does
|
||||
-- not include children for individual mods, so we scrape the public HTML.
|
||||
--
|
||||
-- Use cases:
|
||||
-- 1. Auto-resolving missing-dep warnings: when a cached mod_id Y is
|
||||
-- missing dep X, we look at Y's source wsid's required_wsids and
|
||||
-- auto-queue any uncached wsids — the next sort resolves X.
|
||||
-- 2. Surfacing "↗ add <wsid>" actions for unresolved deps so the user
|
||||
-- can pull them with one click.
|
||||
ALTER TABLE workshop_meta
|
||||
ADD COLUMN IF NOT EXISTS required_wsids TEXT[] NOT NULL DEFAULT '{}';
|
||||
Reference in New Issue
Block a user