added foreign key and timestamp indices
Merge pull request #25 from roryquinlan/add_indices

added foreign key and timestamp indices