add is_active to table and DAO