I tried to add an image as Attachment image to a post.
in wp_postmeta
i added _wp_attached_file
as meta_key
and value = productimages/Routers/v/CISCO1941.jpg
it not works and i could not see the image as attachment! but when i use add image button in wordpress's HTML editor, it add exactly this field to that table but with a different post ID!
is there any dependency for that field? screenshot from db: https://i.sstatic.net/mVlse.png