create db indexes on startup