Enable sqlite foreign key checking.