LinkFerret/sql/link
< LinkFerret | sql
Jump to navigation
Jump to search
About
- Purpose: for posting a link
SQL
CREATE TABLE `post` (
`ID_Post` INT NOT NULL COMMENT "ID of post to which this link is attached", `ID_User` INT NOT NULL COMMENT "ID of user who owns this post", `URL` VARCHAR(255) DEFAULT NULL COMMENT "site-relative URI for more information", PRIMARY KEY(`ID_Post`), UNIQUE KEY `content` (`URL`) ) ENGINE = MYISAM;