npi uses rails db, moved from rails