Added support to specify table name in relations constraint