Files
tg-dev-srv-bot/migrations/20260705000000_init.sql
T
Elias Wendland b0bcc4d4ee
Run cargo test / Run tests (push) Successful in 3m34s
Build Docker Package / build (push) Successful in 6m19s
Build Docker Package / build (release) Successful in 6m51s
Release 0.1.0
2026-07-05 00:09:41 +02:00

29 lines
683 B
SQL

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