stephencelis / SQLite.swift

A type-safe, Swift-language layer over SQLite3.
MIT License
9.73k stars 1.57k forks source link

Adding foreignKey Support for String and String? #849

Closed KyleLeneau closed 3 years ago

KyleLeneau commented 6 years ago

I thought it was weird that you didn't have support for String (TEXT) based foreign keys. A lot of use cases make sense for this especially when the model type of the app side is generated using a UUID().uuidString.

Please let me know how you would proceed to support this. I am happy to take this a different direction and open to feedback.