New field in comments to specify related entry (#3)

Add migrations scripts, fixes #10