2021-10-30 19:57:33 +00:00
|
|
|
USE reminders;
|
|
|
|
|
2021-09-22 20:12:29 +00:00
|
|
|
CREATE TABLE macro (
|
|
|
|
id INT UNSIGNED AUTO_INCREMENT,
|
2021-10-30 19:57:33 +00:00
|
|
|
guild_id INT UNSIGNED NOT NULL,
|
2021-09-22 20:12:29 +00:00
|
|
|
|
|
|
|
name VARCHAR(100) NOT NULL,
|
|
|
|
description VARCHAR(100),
|
2021-10-13 15:37:15 +00:00
|
|
|
commands TEXT NOT NULL,
|
2021-09-22 20:12:29 +00:00
|
|
|
|
2021-10-30 19:57:33 +00:00
|
|
|
FOREIGN KEY (guild_id) REFERENCES guilds(id) ON DELETE CASCADE,
|
2021-09-22 20:12:29 +00:00
|
|
|
PRIMARY KEY (id)
|
|
|
|
);
|