fdb6304e32
Split the relativeTime function into relativeTime and relativeTimeFromString. Refactored the installer. Made a lot of progress with PgSQL and MSSQL support, mostly MSSQL. Made a lot of progress on the automated testing suite. Added eqcss to the file extension list. ..depressed.. Fixed various bugs here and there. gen_mysql.go is now properly excluded when the pgsql or mssql build tag is passed. The BBCode plugin is now always initialised prior to it's test. We've begun transitioning towards deserializing database times directly into time.Times rather than doing it every time on the spot. Added more dev flags. The tests now make use of a test database rather than the production database.
10 lines
374 B
SQL
10 lines
374 B
SQL
CREATE TABLE `attachments` (
|
|
`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,
|
|
primary key(`attachID`)
|
|
) CHARSET=utf8mb4 COLLATE utf8mb4_general_ci; |