0305571cb3
Fixed the build tags for the alt database engines. Tweaked the quotes on the PgSQL adapter. Still not functional. Removed the SQLite build tag as it's unlikely that it'll ever be implemented.
10 lines
322 B
SQL
10 lines
322 B
SQL
CREATE TABLE "attachments" (
|
|
`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`)
|
|
); |