Specifically truncate cascade the parent table "stock_in" which had foreign key to my "inventory" child of it. so I lost all data regarding my inventory.
I accidentally executed these are the following commands: "TRUNCATE TABLE public.stock_in RESTART IDENTITY CASCADE;" "ALTER SEQUENCE stock_in_id_seq RESTART WITH 1;"
I do not have a personal backup. PLEASE HELP ME I am new to this coding, but those were important for me.