Add index keys for db tables