2021-04-29 22:33:02 +00:00
|
|
|
CREATE TABLE `attachments`(
|
2017-10-14 07:39:22 +00:00
|
|
|
`attachID` int not null AUTO_INCREMENT,
|
|
|
|
`sectionID` int DEFAULT 0 not null,
|
|
|
|
`sectionTable` varchar(200) DEFAULT 'forums' not null,
|
|
|
|
`originID` int not null,
|
|
|
|
`originTable` varchar(200) DEFAULT 'replies' not null,
|
|
|
|
`uploadedBy` int not null,
|
|
|
|
`path` varchar(200) not null,
|
2019-04-13 11:54:22 +00:00
|
|
|
`extra` varchar(200) not null,
|
2017-10-14 07:39:22 +00:00
|
|
|
primary key(`attachID`)
|
|
|
|
) CHARSET=utf8mb4 COLLATE utf8mb4_general_ci;
|