Set both attributes and indexes into the database on schema load.