ALTER TABLE guild_members
    ADD FOREIGN KEY (guild_id) REFERENCES guilds(id) ON DELETE CASCADE,
    ADD FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE,
    ADD FOREIGN KEY (voice_channel_id) REFERENCES channels(id) ON DELETE SET NULL
