kopia lustrzana https://github.com/snarfed/bridgy-fed
index.yaml: remove obsolete datastore indices
rodzic
70da21a7f3
commit
7c34689c9f
66
index.yaml
66
index.yaml
|
@ -6,48 +6,6 @@ indexes:
|
||||||
# index.yaml file manually, remove the "# AUTOGENERATED" marker line above.
|
# index.yaml file manually, remove the "# AUTOGENERATED" marker line above.
|
||||||
# If you want to manage some indexes manually, move them above the marker line.
|
# 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
|
- kind: Object
|
||||||
properties:
|
properties:
|
||||||
- name: users
|
- name: users
|
||||||
|
@ -59,18 +17,6 @@ indexes:
|
||||||
- name: updated
|
- name: updated
|
||||||
direction: desc
|
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
|
- kind: Object
|
||||||
properties:
|
properties:
|
||||||
- name: notify
|
- name: notify
|
||||||
|
@ -93,6 +39,12 @@ indexes:
|
||||||
- name: created
|
- name: created
|
||||||
direction: desc
|
direction: desc
|
||||||
|
|
||||||
|
- kind: Follower
|
||||||
|
properties:
|
||||||
|
- name: from
|
||||||
|
- name: status
|
||||||
|
- name: updated
|
||||||
|
|
||||||
- kind: Follower
|
- kind: Follower
|
||||||
properties:
|
properties:
|
||||||
- name: from
|
- name: from
|
||||||
|
@ -100,6 +52,12 @@ indexes:
|
||||||
- name: updated
|
- name: updated
|
||||||
direction: desc
|
direction: desc
|
||||||
|
|
||||||
|
- kind: Follower
|
||||||
|
properties:
|
||||||
|
- name: to
|
||||||
|
- name: status
|
||||||
|
- name: updated
|
||||||
|
|
||||||
- kind: Follower
|
- kind: Follower
|
||||||
properties:
|
properties:
|
||||||
- name: to
|
- name: to
|
||||||
|
|
|
@ -571,9 +571,6 @@ class Object(StringIdModel):
|
||||||
'feed', 'notification', 'user')
|
'feed', 'notification', 'user')
|
||||||
|
|
||||||
# Keys for user(s) who created or otherwise own this activity.
|
# 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)
|
users = ndb.KeyProperty(repeated=True)
|
||||||
# User keys who should see this activity in their user page, eg in reply to,
|
# User keys who should see this activity in their user page, eg in reply to,
|
||||||
# reaction to, share of, etc.
|
# reaction to, share of, etc.
|
||||||
|
|
Ładowanie…
Reference in New Issue