[dbmeta] start foreign key support