Files
tg-dev-srv-bot/sqlschema.txt
T
2026-07-04 22:56:07 +02:00

29 lines
683 B
Plaintext

CREATE TABLE IF NOT EXISTS auto_roles (
guild_id BIGINT NOT NULL,
role_id BIGINT NOT NULL,
enabled BOOLEAN NOT NULL
);
CREATE TABLE IF NOT EXISTS reaction_role (
guild_id BIGINT NOT NULL,
channel_id BIGINT NOT NULL,
message_id BIGINT NOT NULL,
role_id BIGINT NOT NULL,
emoji_id BIGINT NOT NULL
);
CREATE TABLE IF NOT EXISTS admin_users (
guild_id BIGINT NOT NULL,
user_id BIGINT NOT NULL
);
CREATE TABLE IF NOT EXISTS admin_roles (
guild_id BIGINT NOT NULL,
role_id BIGINT NOT NULL
);
CREATE TABLE IF NOT EXISTS users (
guild_id BIGINT NOT NULL,
user_id BIGINT NOT NULL,
settings_get_messaged_about_errors BOOLEAN NOT NULL
);