migrate DB, add active to Priem model