Files
Modrinth-plus/apps/labrinth/migrations/20250927120742_user_limits.sql

10 lines
307 B
MySQL
Raw Normal View History

CREATE TABLE user_limits (
-- if NULL, this is a global default
user_id BIGINT REFERENCES users(id),
projects INTEGER NOT NULL,
organizations INTEGER NOT NULL,
collections INTEGER NOT NULL
);
INSERT INTO user_limits (user_id, projects, organizations, collections)
VALUES (NULL, 256, 16, 32);