createSchema

Creates the key indexes when missing.