Create and include new item with custom script

Hello everyone,

I’m working with a last updated version core and I would like to create custom item script. The problem is the SQL part : I would like to create a item (just a copy of another item ) for the script I made but I don’t understand which table contains the items template. The guide about custom script talks about “item_template”, but doesn’t exist in this version.

For that, I tried to find a item already scripted and to trace all its SQL part, but I find only one table who contains its entry : item_script_names.

So, can you help me and update the custom script guide’s SQL part please ? I’ll appreciate a lot !

Thanks for reading !