Merge pull request #16 from Eric-Guo/master

permalink must be unique
sqlite 3 branch