Files
Modrinth-plus/apps/labrinth/migrations/20260207153522_version_components.sql

9 lines
297 B
MySQL
Raw Normal View History

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)
);