12 lines
250 B
MySQL
12 lines
250 B
MySQL
|
CREATE TABLE macro (
|
||
|
id INT UNSIGNED AUTO_INCREMENT,
|
||
|
guild_id INT UNSIGNED NOT NULL,
|
||
|
|
||
|
name VARCHAR(100) NOT NULL,
|
||
|
description VARCHAR(100),
|
||
|
commands TEXT,
|
||
|
|
||
|
FOREIGN KEY (guild_id) REFERENCES guilds(id),
|
||
|
PRIMARY KEY (id)
|
||
|
);
|