foxykeep/DataDroid — pull request #7 by saik0 (2012-09-05 09:32:48+00:00)
Title: new trigger generation methods to emulate foreign key constraints and

* add methods to generate triggers that simulate foreign key constraints since they are unsupported with Android's sqlite version in api < (iirc) 8
* remove call to toLowerCase() on tableName string in getCreateIndexString()
* it does not specify a locale, [which can lead to weirdness](http://developer.android.com/reference/java/util/Locale.html#default_locale)
* index names have no lowercase restriction, whats the point of doing this?
* it's possible, however unlikely and idiotic, that somebody uses tables 'foo' and 'Foo'