byteally/dbrecord

Add DB param to all the associated types in Table class

Closed this issue · 0 comments

Breaking Change
By just having table in those associated types, it is not possible to define Table instance for a type with different database. This is unnecessarily limiting

For eg:
It's not possible to write following code

instance Table DB1 User
instance Table DB2 User