Initial identity collection in the database

Define the initial identity structure in the database, and tests.
not for this review, but how common is this pattern ? does it need a helper ?