I have two tables, Products and Images. The Products table has an "image" column, I want to move the images inside said column to the Images table. The Images table has column "product_id", that's how both tables are related
Products table
id
image
Images Table
id
image
product_id
The ID from the Products table should work as a foreign key in the Images table under product_id for image, it should works the same as a primary key in Products table as for images. One more thing, Images Table is not empty it already has data in it.