index.yaml: remove obsolete datastore indices

pull/968/head
Ryan Barrett 2024-04-20 10:51:43 -07:00
rodzic 70da21a7f3
commit 7c34689c9f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6BE31FDF4776E9D4
2 zmienionych plików z 12 dodań i 57 usunięć

Wyświetl plik

@ -6,48 +6,6 @@ indexes:
# index.yaml file manually, remove the "# AUTOGENERATED" marker line above.
# If you want to manage some indexes manually, move them above the marker line.
- kind: Object
properties:
- name: domains
- name: labels
- name: updated
direction: asc
- kind: Object
properties:
- name: users
- name: labels
- name: updated
direction: asc
- kind: Object
properties:
- name: domains
- name: labels
- name: updated
direction: desc
- kind: Object
properties:
- name: users
- name: labels
- name: updated
direction: desc
- kind: Object
properties:
- name: domains
- name: labels
- name: created
direction: desc
- kind: Object
properties:
- name: users
- name: labels
- name: created
direction: desc
- kind: Object
properties:
- name: users
@ -59,18 +17,6 @@ indexes:
- name: updated
direction: desc
# these two are currently unused! as of 2024-01-24
- kind: Object
properties:
- name: users
- name: created
- kind: Object
properties:
- name: users
- name: created
direction: desc
- kind: Object
properties:
- name: notify
@ -93,6 +39,12 @@ indexes:
- name: created
direction: desc
- kind: Follower
properties:
- name: from
- name: status
- name: updated
- kind: Follower
properties:
- name: from
@ -100,6 +52,12 @@ indexes:
- name: updated
direction: desc
- kind: Follower
properties:
- name: to
- name: status
- name: updated
- kind: Follower
properties:
- name: to

Wyświetl plik

@ -571,9 +571,6 @@ class Object(StringIdModel):
'feed', 'notification', 'user')
# Keys for user(s) who created or otherwise own this activity.
#
# DEPRECATED: this used to include all users related the activity, including
# followers, but we've now moved those to the notify and feed properties.
users = ndb.KeyProperty(repeated=True)
# User keys who should see this activity in their user page, eg in reply to,
# reaction to, share of, etc.