Gazelle/sections/artist/artistcomments.sql
2012-10-27 08:00:09 +00:00

15 lines
464 B
SQL

USE gazelle;
CREATE TABLE `artist_comments` (
`ID` int(10) NOT NULL AUTO_INCREMENT,
`ArtistID` int(10) NOT NULL,
`AuthorID` int(10) NOT NULL,
`AddedTime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`Body` mediumtext COLLATE utf8_bin,
`EditedUserID` int(10) DEFAULT NULL,
`EditedTime` datetime DEFAULT NULL,
PRIMARY KEY (`ID`),
KEY `TopicID` (`ArtistID`),
KEY `AuthorID` (`AuthorID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;