テーブル構成

CREATE TABLE reblogs (
  reblog_key varchar(10) NOT NULL,
  posttype int(1) NOT NULL DEFAULT 0,
  lastdate datetime NOT NULL DEFAULT '1970-01-01 09:00:00',
  count int(11) NOT NULL DEFAULT 0,
)

CREATE TABLE posts (
  reblog_key varchar(10) NOT NULL,
  user varchar(32) NOT NULL,
  postid bigint(20) NOT NULL,
)

例えば、http://eri-eri-kamei-eri.tumblr.com/post/13395547613http://mcsgsym.tumblr.com/post/13501396948のデータをAPIから取得するとreblog_keyが一緒になっている。そのため、1つのreblog_keyに複数のポストが紐づいているような感じで。reblogsとpostsは1対多になる。