Sublist & SubDB type families should unlock a new form of type safety. Because any SQL statement which is valid in the scope of a given set of schemas will be valid in the scope of a larger set of schemas, any Squeal code which is typechecked against a db0 :: SchemasType, should also work for a db1 for which SubDB db0 db1 ~ 'True.
Sublist
&SubDB
type families should unlock a new form of type safety. Because any SQL statement which is valid in the scope of a given set of schemas will be valid in the scope of a larger set of schemas, any Squeal code which is typechecked against adb0 :: SchemasType
, should also work for adb1
for whichSubDB db0 db1 ~ 'True
.