Cherry-pick migrations from server projects into main (#5395)

* Cherry-pick migrations from server projects into main

* Fix up project types and seed data

* fix tag test
This commit is contained in:
aecsocket
2026-02-19 17:32:58 +00:00
committed by GitHub
parent 9a83db2e67
commit b6b4bc21f1
5 changed files with 159 additions and 92 deletions

View File

@@ -0,0 +1,8 @@
ALTER TABLE versions
ADD COLUMN components JSONB NOT NULL DEFAULT '{}';
-- extra metadata for the `minecraft_java_server` version component
CREATE TABLE minecraft_java_server_versions (
id bigint PRIMARY KEY REFERENCES versions(id),
modpack_id bigint REFERENCES versions(id)
);