Do dynamic tables by passing in a function in the schema instead.