2017-10-14 07:39:22 +00:00
|
|
|
CREATE TABLE [attachments] (
|
2022-02-21 03:16:15 +00:00
|
|
|
[attachID] int not null IDENTITY,
|
|
|
|
[sectionID] int DEFAULT 0 not null,
|
|
|
|
[sectionTable] nvarchar (200) DEFAULT 'forums' not null,
|
|
|
|
[originID] int not null,
|
|
|
|
[originTable] nvarchar (200) DEFAULT 'replies' not null,
|
|
|
|
[uploadedBy] int not null,
|
|
|
|
[path] nvarchar (200) not null,
|
|
|
|
[extra] nvarchar (200) not null,
|
|
|
|
primary key([attachID])
|
2017-10-14 07:39:22 +00:00
|
|
|
);
|