byteally / dbrecord

7 stars 2 forks source link

Add DB param to all the associated types in Table class #13

Closed mageshb closed 7 years ago

mageshb commented 7 years ago

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