2018-08-15 07:02:57 +00:00
|
|
|
CREATE TABLE "attachments" (
|
2017-10-14 07:39:22 +00:00
|
|
|
`attachID` serial not null,
|
|
|
|
`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,
|
|
|
|
primary key(`attachID`)
|
|
|
|
);
|