Initial support for foreign key constraints in db-meta