robotoworks/mechanoid — pull request #99 by imminent (2013-03-08 16:40:51+00:00)
Title: Adds callback for enabling foreign key constraints

proposed in https://github.com/robotoworks/mechanoid/issues/76

This way the default behavior is unchanged, but if one wanted to enable foreign key constraints they simply need to override `shouldEnableForeignKeyConstraints` in their open helper. It applies the proper version gating to do the right thing based on the device it's running on.