Takes care of postgres DB consistency for ActiveRecord polymorphic associations via partitioning and inheritance