actaeon/migrations/sqls/20240321005359-create-arcade-ext-up.sql

12 lines
296 B
MySQL
Raw Normal View History

2024-03-25 01:47:52 +00:00
CREATE TABLE actaeon_arcade_ext (
arcadeId INT NOT NULL,
uuid CHAR(36) NOT NULL,
visibility INT NOT NULL,
joinPrivacy INT NOT NULL,
PRIMARY KEY (arcadeId),
UNIQUE KEY (uuid),
FOREIGN KEY (arcadeId) REFERENCES arcade(id)
ON DELETE CASCADE ON UPDATE CASCADE
);