anchor.diff:    $UsersTable get users => _users ??= $UsersTable(this);
     $FriendshipsTable _friendships;
     $FriendshipsTable get friendships => _friendships ??= $FriendshipsTable(this);
  -  User _rowToUser(QueryRow row) {
  -    return User(
  -      id: row.readInt('id'),
  -      name: row.readString('name'),
  -      birthDate: row.readDateTime('birth_date'),
  -      profilePicture: row.readBlob('profile_picture'),
  -      preferences:
  -          $UsersTable.$converter0.mapToDart(row.readString('preferences')),
  -    );
  -  }
  -
     Selectable<User> mostPopularUsers(int amount) {
       return customSelect(
           'SELECT * FROM users u ORDER BY (SELECT COUNT(*) FROM friendships WHERE first_user = u.id OR second_user = u.id) DESC LIMIT :amount',
           variables: [Variable.withInt(amount)],
  -        readsFrom: {users, friendships}).map(_rowToUser);
  +        readsFrom: {users, friendships}).map(users.mapFromRow);
     }
   
     Selectable<int> amountOfGoodFriends(int user) {
  
positive.code:       map['really_good_friends'] = Variable<bool>(reallyGoodFriends);
      }
      return map;
    }
  
    factory Friendship.fromJson(Map<String, dynamic> json,
  
negative.code:     }
      return map;
    }
  
    @override
    String toString() {
      return (StringBuffer('UsersCompanion(')
            ..write('id: $id, ')
            ..write('name: $name, ')
            ..write('birthDate: $birthDate, ')
            ..write('profilePicture: $profilePicture, ')
            ..write('preferences: $preferences')
            ..write(')'))
          .toString();
    }
  }
  
  class $UsersTable extends Users with TableInfo<$UsersTable, User> {
  