Skip to content

Commit

Permalink
add mysql data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarbier committed Jun 7, 2013
1 parent 70a8cd1 commit 0dafe0d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mysql.db
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
CREATE TABLE `logs` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`id_hn` int(11) NOT NULL,
`id_parent_hn` int(11) DEFAULT NULL,
`create_ts` date NOT NULL,
`type` enum('SUBMISSION','COMMENT') NOT NULL DEFAULT 'SUBMISSION',
`title` varchar(1024) DEFAULT NULL,
`url` varchar(1024) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=utf8;

0 comments on commit 0dafe0d

Please sign in to comment.