added sqlite constraints for markers