Files
Modrinth-plus/apps/labrinth/migrations/20260406134638_moderation_external_audit_columns.sql
Prospector e13a89dd72 External projects moderator database (#5692)
* Begin external projects moderator database frontend

* add copy link button

* begin project page permissions settings

* MEL database backend routes

* include filename in external files

* Hook up frontend external license page to backend

* more work on user-facing external projects stuff

* put user-facing stuff behind feature flag

* prepr

* clippy

---------

Co-authored-by: aecsocket <aecsocket@tutanota.com>
2026-05-04 16:31:37 +00:00

13 lines
487 B
SQL

ALTER TABLE moderation_external_licenses
ADD COLUMN inserted_at timestamptz,
ADD COLUMN inserted_by bigint REFERENCES users(id),
ADD COLUMN updated_at timestamptz,
ADD COLUMN updated_by bigint REFERENCES users(id);
ALTER TABLE moderation_external_files
ADD COLUMN filename text,
ADD COLUMN inserted_at timestamptz,
ADD COLUMN inserted_by bigint REFERENCES users(id),
ADD COLUMN updated_at timestamptz,
ADD COLUMN updated_by bigint REFERENCES users(id);