anchor.diff:      }
       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> {
  
positive.code:   $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);
    }
  
    Selectable<int> amountOfGoodFriends(int user) {
  
negative.code:     }
      return map;
    }
  
    @override
    String toString() {
      return (StringBuffer('FriendshipsCompanion(')
            ..write('firstUser: $firstUser, ')
            ..write('secondUser: $secondUser, ')
            ..write('reallyGoodFriends: $reallyGoodFriends')
            ..write(')'))
          .toString();
    }
  }
  
  class $FriendshipsTable extends Friendships
  