How to generate _id field manually

This is a constraint of SQL: