User:Woozle/PostFerret/sql/atom
< User:Woozle | PostFerret | sql
Jump to navigation
Jump to search
About
- Purpose:
- Fields:
- History:
SQL
<mysql> CREATE TABLE `atom` (
`ID` INT NOT NULL AUTO_INCREMENT, `Class` VARCHAR(15) NOT NULL COMMENT "what type of chain is using this atom", `WhenCreated` DATETIME NOT NULL COMMENT "when the record-chain attached to this atom was created", `WhoCreated` INT NOT NULL COMMENT "ID (site-defined) of user who created it", `WhenEdited` DATETIME DEFAULT NULL COMMENT "when it was last edited", `WhoEdited` INT DEFAULT NULL COMMENT "ID of user who last edited it", `QtyEdits` INT DEFAULT NULL COMMENT "number of times it has been edited (i.e. version number)", PRIMARY KEY(`ID`) ) ENGINE = MYISAM;
</mysql>