not working
ALTER TABLE ProductInProduct ALTER COLUMN Id KEY IDENTITY (1, 1);
Check Image
I have a table ProductInProduct is
You don't set value to default in a table. You should clear the option "Default value or Binding" first.